home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK2.toast / Development Kits (Disc 2) / ScriptX / Draggable ScriptX Folders / Documentation / ScriptX University / lessons / graphics.sxl < prev    next >
Unknown  |  1996-02-21  |  404.0 KB  |  [LIBR/KMP ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default


id metadata
keyvalue
macFileType[LIBR]
macFileCreator[KMP ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4d 49 4e 41 01 00 99 02 | 00 06 4e 80 00 00 0f f9 |MINA....|..N.....|
|00000010| da 9e 6a 30 00 00 00 00 | 00 00 00 00 00 06 4e 70 |..j0....|......Np|
|00000020| 00 00 10 00 00 00 10 40 | 00 00 10 74 00 00 10 a8 |.......@|...t....|
|00000030| 00 00 10 b4 00 00 10 c0 | 00 00 10 d4 00 00 10 e0 |........|........|
|00000040| 00 00 10 f0 00 00 10 fc | 00 00 11 0c 00 00 11 98 |........|........|
|00000050| 00 00 11 a8 00 00 11 b8 | 00 00 11 c8 00 00 11 e8 |........|........|
|00000060| 00 00 11 f4 00 00 12 00 | 00 00 12 20 00 00 12 2c |........|... ...,|
|00000070| 00 00 12 3c 00 00 12 4c | 00 00 12 d8 00 00 12 e8 |...<...L|........|
|00000080| 00 00 12 f8 00 00 13 08 | 00 00 13 28 00 00 13 34 |........|...(...4|
|00000090| 00 00 13 40 00 00 13 60 | 00 00 13 6c 00 00 13 7c |...@...`|...l...||
|000000a0| 00 00 13 8c 00 00 13 9c | 00 00 13 e0 00 00 14 64 |........|.......d|
|000000b0| 00 00 14 80 00 00 15 04 | 00 00 15 10 00 00 15 24 |........|.......$|
|000000c0| 00 00 15 34 00 00 15 84 | 00 00 15 a0 00 00 15 ac |...4....|........|
|000000d0| 00 00 15 c8 00 00 15 d8 | 00 00 55 d8 00 00 56 1c |........|..U...V.|
|000000e0| 00 00 56 60 00 00 56 70 | 00 00 58 70 00 00 58 b4 |..V`..Vp|..Xp..X.|
|000000f0| 00 00 59 38 00 00 59 bc | 00 00 59 d0 00 00 5a 0c |..Y8..Y.|..Y...Z.|
|00000100| 00 00 5a 28 00 00 5a 34 | 00 00 5a 70 00 00 5a 80 |..Z(..Z4|..Zp..Z.|
|00000110| 00 00 7a 80 00 00 7a c4 | 00 00 7b 08 00 00 7b 14 |..z...z.|..{...{.|
|00000120| 00 00 7c 14 00 00 7c 58 | 00 00 7c dc 00 00 7d 60 |..|...|X|..|...}`|
|00000130| 00 00 7d 7c 00 00 7d 88 | 00 00 7d 94 00 00 7d a0 |..}|..}.|..}...}.|
|00000140| 00 00 7d ac 00 00 7d b8 | 00 00 7d d4 00 00 7e d4 |..}...}.|..}...~.|
|00000150| 00 05 a2 18 00 00 7e e8 | 00 00 7e f4 00 00 7f 04 |......~.|..~.....|
|00000160| 00 00 7f 14 00 00 7f 24 | 00 00 7f 34 00 00 7f 44 |.......$|...4...D|
|00000170| 00 00 7f 54 00 00 7f 64 | 00 00 7f 74 00 00 7f 84 |...T...d|...t....|
|00000180| 00 00 7f 94 00 00 7f a4 | 00 00 7f b4 00 00 7f c4 |........|........|
|00000190| 00 00 7f d4 00 00 87 d8 | 00 00 87 e4 00 00 87 f0 |........|........|
|000001a0| 00 00 87 fc 00 00 88 08 | 00 00 88 14 00 00 88 20 |........|....... |
|000001b0| 00 00 88 2c 00 00 88 38 | 00 00 88 44 00 00 88 50 |...,...8|...D...P|
|000001c0| 00 00 88 5c 00 00 88 68 | 00 00 88 74 00 00 88 80 |...\...h|...t....|
|000001d0| 00 00 88 8c 00 00 88 98 | 00 00 88 a4 00 00 88 b0 |........|........|
|000001e0| 00 00 88 bc 00 00 88 c8 | 00 00 88 d4 00 00 88 e0 |........|........|
|000001f0| 00 00 88 ec 00 00 88 f8 | 00 00 89 04 00 00 89 10 |........|........|
|00000200| 00 00 89 1c 00 00 89 28 | 00 00 89 34 00 00 8b 38 |.......(|...4...8|
|00000210| 00 00 8b 44 00 00 8b 50 | 00 00 8b 5c 00 00 8b 68 |...D...P|...\...h|
|00000220| 00 00 8b 74 00 00 8b 80 | 00 00 8b 8c 00 00 8b 98 |...t....|........|
|00000230| 00 00 8b a4 00 00 8b b0 | 00 00 8b bc 00 00 8b c8 |........|........|
|00000240| 00 00 8b d4 00 00 8b e0 | 00 00 8b ec 00 00 8b f8 |........|........|
|00000250| 00 00 8c 04 00 00 8c 10 | 00 00 8c 8c 00 05 a2 28 |........|.......(|
|00000260| 00 00 8c a0 00 00 8c b0 | 00 00 8c c0 00 00 8c d0 |........|........|
|00000270| 00 00 9c ec 00 00 a1 00 | 00 00 a1 0c 00 00 a1 18 |........|........|
|00000280| 00 00 a1 24 00 00 a1 30 | 00 00 a1 3c 00 00 a1 48 |...$...0|...<...H|
|00000290| 00 00 a1 54 00 00 a1 60 | 00 00 a1 6c 00 00 a1 78 |...T...`|...l...x|
|000002a0| 00 00 a1 84 00 00 a1 90 | 00 00 a1 9c 00 00 a1 a8 |........|........|
|000002b0| 00 00 a1 b4 00 00 a1 c0 | 00 00 a1 cc 00 00 a1 d8 |........|........|
|000002c0| 00 00 a1 e4 00 00 a1 f0 | 00 00 a2 f4 00 00 a3 00 |........|........|
|000002d0| 00 00 a3 0c 00 00 a3 18 | 00 00 a3 24 00 00 a3 30 |........|...$...0|
|000002e0| 00 00 a3 3c 00 00 a3 48 | 00 00 a3 54 00 00 a3 60 |...<...H|...T...`|
|000002f0| 00 00 a3 6c 00 00 a3 80 | 00 00 a3 8c 00 00 a3 98 |...l....|........|
|00000300| 00 00 a3 a4 00 00 a3 b0 | 00 00 a3 c0 00 00 a3 d4 |........|........|
|00000310| 00 00 a3 f0 00 00 a4 08 | 00 00 a4 20 00 00 a4 38 |........|... ...8|
|00000320| 00 00 a4 50 00 00 a4 68 | 00 00 a4 80 00 00 a4 94 |...P...h|........|
|00000330| 00 00 a4 ac 00 00 a4 c4 | 00 00 a4 dc 00 00 a4 f8 |........|........|
|00000340| 00 00 a5 08 00 00 a5 18 | 00 00 a5 28 00 00 a5 38 |........|...(...8|
|00000350| 00 00 a5 48 00 00 a5 58 | 00 00 a5 68 00 00 a5 78 |...H...X|...h...x|
|00000360| 00 00 a5 88 00 00 a5 98 | 00 00 a5 a8 00 00 a5 b8 |........|........|
|00000370| 00 00 a5 c8 00 00 a5 d8 | 00 00 a5 e8 00 00 a5 f8 |........|........|
|00000380| 00 00 a6 08 00 00 a6 18 | 00 00 a6 28 00 00 a6 38 |........|...(...8|
|00000390| 00 00 a6 48 00 00 a6 58 | 00 00 a6 68 00 00 a6 78 |...H...X|...h...x|
|000003a0| 00 00 a6 88 00 00 a6 98 | 00 00 a6 a8 00 00 a6 b8 |........|........|
|000003b0| 00 00 a6 c8 00 00 a6 d8 | 00 00 a6 e8 00 00 a6 f8 |........|........|
|000003c0| 00 00 a7 08 00 00 a7 18 | 00 00 a7 28 00 00 a7 38 |........|...(...8|
|000003d0| 00 00 a7 48 00 00 a7 58 | 00 00 a7 68 00 00 a7 78 |...H...X|...h...x|
|000003e0| 00 00 a7 88 00 00 a7 98 | 00 00 a7 a8 00 00 a7 b8 |........|........|
|000003f0| 00 00 a7 c8 00 00 a7 d8 | 00 00 a7 e8 00 00 a7 f8 |........|........|
|00000400| 00 00 a8 08 00 00 a8 18 | 00 00 a8 28 00 00 a8 38 |........|...(...8|
|00000410| 00 00 a8 48 00 00 a8 58 | 00 00 a8 68 00 00 a8 78 |...H...X|...h...x|
|00000420| 00 00 a8 88 00 00 a8 98 | 00 00 a8 a8 00 00 a8 b8 |........|........|
|00000430| 00 00 a8 c8 00 00 a8 d8 | 00 00 a8 e8 00 00 a8 f8 |........|........|
|00000440| 00 00 a9 08 00 00 a9 18 | 00 00 a9 28 00 00 a9 38 |........|...(...8|
|00000450| 00 00 a9 48 00 00 a9 58 | 00 00 a9 68 00 00 a9 78 |...H...X|...h...x|
|00000460| 00 00 a9 88 00 00 a9 98 | 00 00 a9 a8 00 00 a9 b8 |........|........|
|00000470| 00 00 a9 c8 00 00 a9 d8 | 00 00 a9 e8 00 00 a9 f8 |........|........|
|00000480| 00 00 aa 08 00 00 aa 18 | 00 00 aa 28 00 00 aa 38 |........|...(...8|
|00000490| 00 00 aa 48 00 00 aa 58 | 00 00 aa 68 00 00 aa 78 |...H...X|...h...x|
|000004a0| 00 00 aa 88 00 00 aa 98 | 00 00 aa a8 00 00 aa b8 |........|........|
|000004b0| 00 00 aa c8 00 00 aa d8 | 00 00 aa e8 00 00 aa f8 |........|........|
|000004c0| 00 00 ab 08 00 00 ab 18 | 00 00 ab 28 00 00 ab 38 |........|...(...8|
|000004d0| 00 00 ab 48 00 00 ab 58 | 00 00 ab 68 00 00 ab 78 |...H...X|...h...x|
|000004e0| 00 00 ab 88 00 00 ab 98 | 00 00 ab a8 00 00 ab b8 |........|........|
|000004f0| 00 00 ab c8 00 00 ab d8 | 00 00 ab e8 00 00 ab f8 |........|........|
|00000500| 00 00 ac 08 00 00 ac 18 | 00 00 ac 28 00 00 ac 38 |........|...(...8|
|00000510| 00 00 ac 48 00 00 ac 58 | 00 00 ac 68 00 00 ac 78 |...H...X|...h...x|
|00000520| 00 00 ac 88 00 00 ac 98 | 00 00 ac a8 00 00 ac b8 |........|........|
|00000530| 00 00 ac c8 00 00 ac d8 | 00 00 ac e8 00 00 ac f8 |........|........|
|00000540| 00 00 ad 08 00 00 ad 18 | 00 00 ad 28 00 00 ad 38 |........|...(...8|
|00000550| 00 00 ad 48 00 00 ad 58 | 00 00 ad 68 00 00 ad 78 |...H...X|...h...x|
|00000560| 00 00 ad 88 00 00 ad 98 | 00 00 ad a8 00 00 ad b8 |........|........|
|00000570| 00 00 ad c8 00 00 ad d8 | 00 00 ad e8 00 00 ad f8 |........|........|
|00000580| 00 00 ae 08 00 00 ae 18 | 00 00 ae 28 00 00 ae 38 |........|...(...8|
|00000590| 00 00 ae 48 00 00 ae 58 | 00 00 ae 68 00 00 ae 78 |...H...X|...h...x|
|000005a0| 00 00 ae 88 00 00 ae 98 | 00 00 ae a8 00 00 ae b8 |........|........|
|000005b0| 00 00 ae c8 00 00 ae d8 | 00 00 ae e8 00 00 ae f8 |........|........|
|000005c0| 00 00 af 08 00 00 af 18 | 00 00 af 28 00 00 af 38 |........|...(...8|
|000005d0| 00 00 af 48 00 00 af 58 | 00 00 af 68 00 00 af 78 |...H...X|...h...x|
|000005e0| 00 00 af 88 00 00 af 98 | 00 00 af a8 00 00 af b8 |........|........|
|000005f0| 00 00 af c8 00 00 af d8 | 00 00 af e8 00 00 af f8 |........|........|
|00000600| 00 00 b0 08 00 00 b0 18 | 00 00 b0 28 00 00 b0 38 |........|...(...8|
|00000610| 00 00 b0 48 00 00 b0 58 | 00 00 b0 68 00 00 b0 78 |...H...X|...h...x|
|00000620| 00 00 b0 88 00 00 b0 98 | 00 00 b0 a8 00 00 b0 b8 |........|........|
|00000630| 00 00 b0 c8 00 00 b0 d8 | 00 00 b0 e8 00 00 b0 f8 |........|........|
|00000640| 00 00 b1 08 00 00 b1 18 | 00 00 b1 28 00 00 b1 38 |........|...(...8|
|00000650| 00 00 b1 48 00 00 b1 58 | 00 00 b1 68 00 00 b1 78 |...H...X|...h...x|
|00000660| 00 00 b1 88 00 00 b1 98 | 00 00 b1 a8 00 00 b1 b8 |........|........|
|00000670| 00 00 b1 c8 00 00 b1 d8 | 00 00 b1 e8 00 00 b1 f8 |........|........|
|00000680| 00 00 b2 08 00 00 b2 18 | 00 00 b2 28 00 00 b2 38 |........|...(...8|
|00000690| 00 00 b2 48 00 00 b2 58 | 00 00 b2 68 00 00 b2 78 |...H...X|...h...x|
|000006a0| 00 00 b2 88 00 00 b2 98 | 00 00 b2 a8 00 00 b2 b8 |........|........|
|000006b0| 00 00 b2 c8 00 00 b2 d8 | 00 00 b2 e8 00 00 b2 f8 |........|........|
|000006c0| 00 00 b3 08 00 00 b3 18 | 00 00 b3 28 00 00 b3 38 |........|...(...8|
|000006d0| 00 00 b3 48 00 00 b3 58 | 00 00 b3 68 00 00 b3 78 |...H...X|...h...x|
|000006e0| 00 00 b3 88 00 00 b3 98 | 00 00 b3 a8 00 00 b3 b8 |........|........|
|000006f0| 00 00 b3 c8 00 00 b3 d8 | 00 00 b3 e8 00 00 b3 f8 |........|........|
|00000700| 00 00 b4 08 00 00 b4 18 | 00 00 b4 28 00 00 b4 38 |........|...(...8|
|00000710| 00 00 b4 48 00 00 b4 58 | 00 00 b4 68 00 00 b4 78 |...H...X|...h...x|
|00000720| 00 00 b4 88 00 00 b4 98 | 00 00 b4 a8 00 00 b4 b8 |........|........|
|00000730| 00 00 b4 c8 00 00 b4 d8 | 00 00 b4 e8 00 00 b4 f8 |........|........|
|00000740| 00 00 b5 08 00 00 b5 18 | 00 00 b5 28 00 00 b5 38 |........|...(...8|
|00000750| 00 00 b5 48 00 00 b5 58 | 00 00 b5 68 00 00 b5 78 |...H...X|...h...x|
|00000760| 00 00 b5 88 00 00 b5 98 | 00 00 b5 a8 00 00 b5 b8 |........|........|
|00000770| 00 00 b5 c8 00 00 b5 d8 | 00 00 b5 e8 00 00 b5 f8 |........|........|
|00000780| 00 00 b6 08 00 00 b6 18 | 00 00 b6 28 00 00 b6 38 |........|...(...8|
|00000790| 00 00 b6 48 00 00 b6 58 | 00 00 b6 68 00 00 b6 78 |...H...X|...h...x|
|000007a0| 00 00 b6 88 00 00 b6 98 | 00 00 b6 a8 00 00 b6 b8 |........|........|
|000007b0| 00 00 b6 c8 00 00 b6 d8 | 00 00 b6 e8 00 00 b6 f8 |........|........|
|000007c0| 00 00 b7 08 00 00 b7 18 | 00 00 b7 28 00 00 b7 38 |........|...(...8|
|000007d0| 00 00 b7 48 00 00 b7 58 | 00 00 b7 68 00 00 b7 78 |...H...X|...h...x|
|000007e0| 00 00 b7 88 00 00 b7 98 | 00 00 b7 a8 00 00 b7 b8 |........|........|
|000007f0| 00 00 b7 c8 00 00 b7 d8 | 00 00 b7 e8 00 00 b7 f8 |........|........|
|00000800| 00 00 b8 08 00 00 b8 18 | 00 00 b8 28 00 00 b8 38 |........|...(...8|
|00000810| 00 00 b8 48 00 00 b8 58 | 00 00 b8 68 00 00 b8 78 |...H...X|...h...x|
|00000820| 00 00 b8 88 00 00 b8 98 | 00 00 b8 a8 00 00 b8 b8 |........|........|
|00000830| 00 00 b8 c8 00 00 b8 d8 | 00 00 b8 e8 00 00 b8 f8 |........|........|
|00000840| 00 00 b9 08 00 00 b9 18 | 00 00 b9 28 00 00 b9 38 |........|...(...8|
|00000850| 00 00 b9 48 00 00 b9 58 | 00 00 b9 68 00 00 b9 78 |...H...X|...h...x|
|00000860| 00 00 b9 88 00 00 b9 98 | 00 00 b9 a8 00 00 b9 b8 |........|........|
|00000870| 00 00 b9 c8 00 00 b9 d8 | 00 00 b9 e8 00 00 b9 f8 |........|........|
|00000880| 00 00 ba 08 00 00 ba 18 | 00 00 ba 28 00 00 ba 38 |........|...(...8|
|00000890| 00 00 ba 48 00 00 ba 58 | 00 00 ba 68 00 00 ba 78 |...H...X|...h...x|
|000008a0| 00 00 ba 88 00 00 ba 98 | 00 00 ba a8 00 00 ba b8 |........|........|
|000008b0| 00 00 ba c8 00 00 ba d8 | 00 00 ba e8 00 00 ba f8 |........|........|
|000008c0| 00 00 bb 08 00 00 bb 18 | 00 00 bb 28 00 00 bb 38 |........|...(...8|
|000008d0| 00 00 bb 48 00 00 bb 58 | 00 00 bb 68 00 00 bb 78 |...H...X|...h...x|
|000008e0| 00 00 bb 88 00 00 bb 98 | 00 00 bb a8 00 00 bb b8 |........|........|
|000008f0| 00 00 bb c8 00 00 bb d8 | 00 00 bb e8 00 00 bb f8 |........|........|
|00000900| 00 00 bc 08 00 00 bc 18 | 00 00 bc 28 00 00 bc 38 |........|...(...8|
|00000910| 00 00 bc 48 00 00 bc 58 | 00 00 bc 68 00 00 bc 78 |...H...X|...h...x|
|00000920| 00 00 bc 88 00 00 bc 98 | 00 00 bc a8 00 00 bc b8 |........|........|
|00000930| 00 00 bc c8 00 00 bc d8 | 00 00 bc e8 00 00 bc f8 |........|........|
|00000940| 00 00 bd 08 00 00 bd 18 | 00 00 bd 28 00 00 bd 38 |........|...(...8|
|00000950| 00 00 bd 48 00 00 bd 58 | 00 00 bd 68 00 00 bd 78 |...H...X|...h...x|
|00000960| 00 00 bd 88 00 00 bd 98 | 00 00 bd a8 00 00 bd b8 |........|........|
|00000970| 00 00 bd c8 00 00 bd d8 | 00 00 bd e8 00 00 bd f8 |........|........|
|00000980| 00 00 be 08 00 00 be 18 | 00 00 be 28 00 00 be 38 |........|...(...8|
|00000990| 00 00 be 48 00 00 be 58 | 00 00 be 68 00 00 be 78 |...H...X|...h...x|
|000009a0| 00 00 be 88 00 00 be 98 | 00 00 be a8 00 00 be b8 |........|........|
|000009b0| 00 00 be c8 00 00 be d8 | 00 00 be e8 00 00 be f8 |........|........|
|000009c0| 00 00 bf 08 00 00 bf 18 | 00 00 bf 28 00 00 bf 38 |........|...(...8|
|000009d0| 00 00 bf 48 00 00 bf 58 | 00 00 bf 68 00 00 bf 78 |...H...X|...h...x|
|000009e0| 00 00 bf 88 00 00 bf 98 | 00 00 bf a8 00 00 bf b8 |........|........|
|000009f0| 00 00 bf c8 00 00 bf d8 | 00 00 bf e8 00 00 bf f8 |........|........|
|00000a00| 00 00 c0 08 00 00 c0 18 | 00 00 c0 28 00 00 c0 38 |........|...(...8|
|00000a10| 00 00 c0 48 00 00 c0 58 | 00 00 c0 68 00 00 c0 78 |...H...X|...h...x|
|00000a20| 00 00 c0 88 00 00 c0 98 | 00 00 c0 a8 00 00 c0 b8 |........|........|
|00000a30| 00 00 c0 c8 00 00 c0 d8 | 00 00 c0 e8 00 00 c0 f8 |........|........|
|00000a40| 00 00 c1 08 00 00 c1 18 | 00 00 c1 28 00 00 c1 38 |........|...(...8|
|00000a50| 00 00 c1 48 00 00 c1 58 | 00 00 c1 68 00 00 c1 78 |...H...X|...h...x|
|00000a60| 00 00 c1 88 00 00 c1 98 | 00 00 c1 a8 00 00 c1 b8 |........|........|
|00000a70| 00 00 c1 c8 00 00 c1 d8 | 00 00 c1 e8 00 00 c1 f8 |........|........|
|00000a80| 00 00 c2 08 00 00 c2 18 | 00 00 c2 28 00 00 c2 38 |........|...(...8|
|00000a90| 00 00 c2 48 00 00 c2 58 | 00 00 c2 68 00 00 c2 78 |...H...X|...h...x|
|00000aa0| 00 00 c2 88 00 00 c2 98 | 00 00 c2 a8 00 00 c2 b8 |........|........|
|00000ab0| 00 00 c2 c8 00 00 c2 d8 | 00 00 c2 e8 00 00 c2 f8 |........|........|
|00000ac0| 00 00 c3 08 00 00 c3 18 | 00 00 c3 28 00 00 c3 38 |........|...(...8|
|00000ad0| 00 00 c3 48 00 00 c3 58 | 00 00 c3 68 00 00 c3 78 |...H...X|...h...x|
|00000ae0| 00 00 c3 88 00 00 c3 98 | 00 00 c3 a8 00 00 c3 b8 |........|........|
|00000af0| 00 00 c3 c8 00 00 c3 d8 | 00 00 c3 e8 00 00 c3 f8 |........|........|
|00000b00| 00 00 c4 08 00 00 c4 18 | 00 00 c4 28 00 00 c4 38 |........|...(...8|
|00000b10| 00 00 c4 48 00 00 c4 58 | 00 00 c4 68 00 00 c4 78 |...H...X|...h...x|
|00000b20| 00 00 c4 88 00 00 c4 98 | 00 00 c4 a8 00 00 c4 b8 |........|........|
|00000b30| 00 00 c4 c8 00 00 c4 d8 | 00 00 c4 e8 00 00 c4 f8 |........|........|
|00000b40| 00 00 c5 08 00 00 c5 18 | 00 00 c5 28 00 00 c5 38 |........|...(...8|
|00000b50| 00 00 c5 48 00 00 c5 58 | 00 00 c5 68 00 00 c5 78 |...H...X|...h...x|
|00000b60| 00 00 c5 88 00 00 c5 98 | 00 00 c5 a8 00 00 c5 b8 |........|........|
|00000b70| 00 00 c5 c8 00 00 c5 d8 | 00 00 c5 e8 00 00 c5 f8 |........|........|
|00000b80| 00 00 c6 08 00 00 c6 18 | 00 00 c6 28 00 00 c6 38 |........|...(...8|
|00000b90| 00 00 c6 48 00 00 c6 58 | 00 00 c6 68 00 00 c6 78 |...H...X|...h...x|
|00000ba0| 00 00 c6 88 00 00 c6 98 | 00 00 c6 a8 00 00 c6 b8 |........|........|
|00000bb0| 00 00 c6 c8 00 00 c6 d8 | 00 00 c6 e8 00 00 c6 f8 |........|........|
|00000bc0| 00 00 c7 08 00 00 c7 18 | 00 00 c7 28 00 00 c7 38 |........|...(...8|
|00000bd0| 00 00 c7 48 00 00 c7 58 | 00 00 c7 68 00 00 c7 78 |...H...X|...h...x|
|00000be0| 00 00 c7 88 00 00 c7 98 | 00 00 c7 a8 00 00 c7 b8 |........|........|
|00000bf0| 00 00 c7 c8 00 00 c7 d8 | 00 00 c7 e8 00 00 c7 f8 |........|........|
|00000c00| 00 00 c8 08 00 00 c8 18 | 00 00 c8 28 00 00 c8 38 |........|...(...8|
|00000c10| 00 00 c8 48 00 00 c8 58 | 00 00 c8 68 00 00 c8 78 |...H...X|...h...x|
|00000c20| 00 00 c8 88 00 00 c8 98 | 00 00 c8 a8 00 00 c8 b8 |........|........|
|00000c30| 00 00 c8 c8 00 00 c8 d8 | 00 00 c8 e8 00 00 c8 f8 |........|........|
|00000c40| 00 00 c9 08 00 00 c9 18 | 00 00 c9 28 00 00 c9 38 |........|...(...8|
|00000c50| 00 00 c9 48 00 00 c9 58 | 00 00 c9 68 00 00 c9 78 |...H...X|...h...x|
|00000c60| 00 00 c9 88 00 00 c9 98 | 00 00 c9 a8 00 00 c9 b8 |........|........|
|00000c70| 00 00 c9 c8 00 00 c9 d8 | 00 00 c9 e8 00 00 c9 f8 |........|........|
|00000c80| 00 00 ca 08 00 00 ca 18 | 00 00 ca 28 00 00 ca 38 |........|...(...8|
|00000c90| 00 00 ca 48 00 00 ca 58 | 00 00 ca 68 00 00 ca 78 |...H...X|...h...x|
|00000ca0| 00 00 ca 88 00 00 ca 98 | 00 00 ca a8 00 00 ca b8 |........|........|
|00000cb0| 00 00 ca c8 00 00 ca d8 | 00 00 ca e8 00 00 ca f8 |........|........|
|00000cc0| 00 00 cb 08 00 00 cb 18 | 00 00 cb 28 00 00 cb 38 |........|...(...8|
|00000cd0| 00 00 cb 48 00 00 cb 58 | 00 00 cb 68 00 00 cb 78 |...H...X|...h...x|
|00000ce0| 00 00 cb 88 00 00 cb 98 | 00 00 cb a8 00 00 cb bc |........|........|
|00000cf0| 00 00 cb d0 00 00 cb e4 | 00 00 cb f8 00 00 cc 0c |........|........|
|00000d00| 00 00 cc 20 00 00 cc 34 | 00 00 cc 48 00 00 cc 5c |... ...4|...H...\|
|00000d10| 00 00 cc 70 00 00 cc 84 | 00 00 cc 98 00 00 cc ac |...p....|........|
|00000d20| 00 00 cc c0 00 00 cc d4 | 00 00 cc e8 00 00 cc fc |........|........|
|00000d30| 00 00 cd 10 00 00 cd 24 | 00 00 cd 38 00 00 cd 4c |.......$|...8...L|
|00000d40| 00 00 cd 60 00 00 cd 74 | 00 00 cd 88 00 00 cd 9c |...`...t|........|
|00000d50| 00 00 cd b0 00 00 cd c4 | 00 00 cd d8 00 00 cd ec |........|........|
|00000d60| 00 00 cd fc 00 00 ce 0c | 00 00 ce 1c 00 00 ce 2c |........|.......,|
|00000d70| 00 00 ce 3c 00 00 ce 4c | 00 00 ce 5c 00 00 ce 6c |...<...L|...\...l|
|00000d80| 00 00 ce 7c 00 00 ce 8c | 00 00 ce 9c 00 00 ce ac |...|....|........|
|00000d90| 00 00 ce bc 00 00 ce cc | 00 00 ce dc 00 00 ce ec |........|........|
|00000da0| 00 00 ce fc 00 00 cf 0c | 00 00 cf 1c 00 00 cf 2c |........|.......,|
|00000db0| 00 00 cf 3c 00 00 cf 4c | 00 00 cf 5c 00 00 cf 6c |...<...L|...\...l|
|00000dc0| 00 00 cf 7c 00 00 cf 8c | 00 00 cf 9c 00 00 cf ac |...|....|........|
|00000dd0| 00 00 cf bc 00 00 cf cc | 00 00 cf dc 00 00 cf ec |........|........|
|00000de0| 00 00 cf fc 00 00 d0 0c | 00 00 d0 1c 00 00 d0 2c |........|.......,|
|00000df0| 00 00 d0 3c 00 00 d0 4c | 00 00 d0 5c 00 00 d0 6c |...<...L|...\...l|
|00000e00| 00 00 d0 7c 00 00 d0 8c | 00 00 d0 9c 00 00 d0 ac |...|....|........|
|00000e10| 00 00 d0 bc 00 00 d0 cc | 00 00 d0 dc 00 00 d0 ec |........|........|
|00000e20| 00 00 d0 fc 00 00 d1 0c | 00 00 d1 1c 00 00 d1 2c |........|.......,|
|00000e30| 00 00 d1 3c 00 00 d1 4c | 00 00 d1 5c 00 00 d1 6c |...<...L|...\...l|
|00000e40| 00 00 d1 7c 00 00 d1 8c | 00 00 d1 9c 00 00 d1 ac |...|....|........|
|00000e50| 00 00 d1 bc 00 00 d1 cc | 00 00 d1 dc 00 00 d1 ec |........|........|
|00000e60| 00 00 d1 fc 00 00 d2 0c | 00 00 d2 1c 00 00 d2 2c |........|.......,|
|00000e70| 00 00 d2 3c 00 00 d2 4c | 00 00 d2 5c 00 00 d2 6c |...<...L|...\...l|
|00000e80| 00 00 d2 7c 00 00 d2 8c | 00 00 d2 9c 00 00 d2 ac |...|....|........|
|00000e90| 00 00 d2 bc 00 00 d2 cc | 00 00 d2 dc 00 00 d2 ec |........|........|
|00000ea0| 00 00 d2 fc 00 00 d3 0c | 00 00 d3 1c 00 00 d3 2c |........|.......,|
|00000eb0| 00 00 d3 3c 00 00 d3 4c | 00 00 d3 5c 00 00 d3 6c |...<...L|...\...l|
|00000ec0| 00 00 d3 7c 00 00 d3 8c | 00 00 d3 9c 00 00 d3 ac |...|....|........|
|00000ed0| 00 00 d3 bc 00 00 d3 cc | 00 00 d3 dc 00 00 d3 ec |........|........|
|00000ee0| 00 00 d3 fc 00 00 d4 0c | 00 00 d4 1c 00 00 d4 2c |........|.......,|
|00000ef0| 00 00 d4 3c 00 00 d4 4c | 00 00 d4 5c 00 00 d4 6c |...<...L|...\...l|
|00000f00| 00 00 d4 7c 00 00 d4 8c | 00 00 d4 9c 00 00 d4 ac |...|....|........|
|00000f10| 00 00 d4 bc 00 00 d4 cc | 00 00 d4 dc 00 00 d4 ec |........|........|
|00000f20| 00 00 d4 fc 00 00 d5 0c | 00 00 d5 1c 00 00 d5 2c |........|.......,|
|00000f30| 00 00 d5 3c 00 00 d5 4c | 00 00 d5 5c 00 00 d5 6c |...<...L|...\...l|
|00000f40| 00 00 d5 7c 00 00 d5 8c | 00 00 d5 9c 00 00 d5 ac |...|....|........|
|00000f50| 00 00 d5 bc 00 00 d5 cc | 00 00 d5 dc 00 00 d5 ec |........|........|
|00000f60| 00 00 d5 fc 00 00 d6 0c | 00 00 d6 1c 00 00 d6 2c |........|.......,|
|00000f70| 00 00 d6 3c 00 00 d6 4c | 00 00 d6 5c 00 00 d6 6c |...<...L|...\...l|
|00000f80| 00 00 d6 7c 00 00 d6 8c | 00 00 d6 9c 00 00 d6 ac |...|....|........|
|00000f90| 00 00 d6 bc 00 00 d6 cc | 00 00 d6 dc 00 00 d6 ec |........|........|
|00000fa0| 00 00 d6 fc 00 00 d7 0c | 00 00 d7 20 00 00 d7 34 |........|... ...4|
|00000fb0| 00 00 d7 48 00 00 d7 5c | 00 00 d7 70 00 00 d7 84 |...H...\|...p....|
|00000fc0| 00 00 d7 98 00 00 d7 ac | 00 00 d7 c0 00 00 d7 d4 |........|........|
|00000fd0| 00 00 d7 e8 00 00 d7 fc | 00 00 d8 10 00 00 d8 24 |........|.......$|
|00000fe0| 00 00 d8 38 00 00 d8 4c | 00 00 d8 58 00 00 d8 64 |...8...L|...X...d|
|00000ff0| 00 00 d8 78 00 00 d8 90 | 00 00 d8 a4 00 00 d8 bc |...x....|........|
|00001000| 00 00 00 3b 83 c0 01 82 | 40 0b 89 96 4c 65 73 73 |...;....|@...Less|
|00001010| 6f 6e 4c 69 62 72 61 72 | 79 43 6f 6e 74 61 69 6e |onLibrar|yContain|
|00001020| 65 72 81 00 0c 00 0d c0 | 01 82 40 0b 8b 00 0e d3 |er......|..@.....|
|00001030| aa d3 aa d3 aa d3 aa 00 | 0f 00 00 00 10 00 11 00 |........|........|
|00001040| 00 00 00 30 83 00 12 8d | 4c 65 73 73 6f 6e 4f 62 |...0....|LessonOb|
|00001050| 6a 65 63 74 2b 81 00 13 | 00 14 d3 aa d3 aa 00 15 |ject+...|........|
|00001060| 00 16 00 17 d3 aa 00 18 | 00 19 00 1a 00 1b 00 1c |........|........|
|00001070| d3 aa d3 aa 00 00 00 30 | 83 00 1d 8d 4c 65 73 73 |.......0|....Less|
|00001080| 6f 6e 4f 62 6a 65 63 74 | 2b 81 00 1e 00 1f d3 aa |onObject|+.......|
|00001090| d3 aa 00 20 00 21 00 22 | d3 aa 00 23 00 24 00 25 |... .!."|...#.$.%|
|000010a0| 00 26 00 27 d3 aa d3 aa | 00 00 00 05 83 d5 82 00 |.&.'....|........|
|000010b0| 28 00 00 00 00 00 00 08 | 83 c0 9c 00 29 82 94 81 |(.......|....)...|
|000010c0| 00 00 00 0f 83 c2 cc 00 | 2a c0 01 82 40 0b 01 9d |........|*...@...|
|000010d0| 81 94 81 00 00 00 00 08 | 83 c0 9c 00 00 80 85 81 |........|........|
|000010e0| 00 00 00 0a 83 c2 e0 81 | 89 88 80 80 00 2b 00 00 |........|.....+..|
|000010f0| 00 00 00 08 83 c0 9c 00 | 00 80 85 81 00 00 00 09 |........|........|
|00001100| 83 c1 6a 00 2c 40 2d b6 | 9b 00 00 00 00 00 00 87 |..j.,@-.|........|
|00001110| 83 c0 01 82 40 0b a1 90 | 6d 65 74 61 4c 65 73 73 |....@...|metaLess|
|00001120| 6f 6e 4f 62 6a 65 63 74 | 81 00 2e 0c 00 80 00 0a |onObject|........|
|00001130| d5 96 01 ff ff 00 00 00 | 0d 4c 65 73 73 6f 6e 4f |........|.LessonO|
|00001140| 62 6a 65 63 74 2b 80 01 | d5 98 01 05 6a d6 1a 01 |bject+..|....j...|
|00001150| d5 98 01 07 41 d6 26 01 | d5 98 01 07 40 d6 28 01 |....A.&.|....@.(.|
|00001160| d5 98 01 03 6d d6 1e 01 | d5 98 01 03 56 d6 20 01 |....m...|....V. .|
|00001170| d5 98 01 03 6c d6 22 01 | d5 98 01 03 55 d6 24 01 |....l.".|....U.$.|
|00001180| d5 98 01 03 62 d6 1c 01 | d5 98 01 07 3f d6 2a 01 |....b...|....?.*.|
|00001190| d5 96 00 00 2f 00 30 00 | 00 00 00 0a 83 c2 dc 81 |..../.0.|........|
|000011a0| 89 88 80 80 00 31 00 00 | 00 00 00 0a 83 c2 dc 81 |.....1..|........|
|000011b0| 84 83 80 80 00 32 00 00 | 00 00 00 0a 83 c2 dc 81 |.....2..|........|
|000011c0| 92 91 80 80 00 33 00 00 | 00 00 00 19 83 c2 f4 00 |.....3..|........|
|000011d0| 34 0f 7f 7f 7f ff 0f 7f | 7f 7f ff 04 f1 60 e9 60 |4.......|.....`.`|
|000011e0| d2 80 80 00 35 00 00 00 | 00 00 00 08 83 c0 9c 00 |....5...|........|
|000011f0| 36 9c 9c 81 00 00 00 08 | 83 c0 9c 00 37 81 94 81 |6.......|....7...|
|00001200| 00 00 00 19 83 c2 f4 00 | 38 0f 7f 7f 7f ff 0f 7f |........|8.......|
|00001210| 7f 7f ff 02 90 03 e9 03 | e8 80 80 00 39 00 00 00 |........|....9...|
|00001220| 00 00 00 08 83 c0 9c 00 | 3a 90 94 81 00 00 00 09 |........|:.......|
|00001230| 83 c1 6a 00 3b 40 2d b6 | 9b 00 00 00 00 00 00 09 |..j.;@-.|........|
|00001240| 83 c1 6a 00 3c 40 2d b6 | 9b 00 00 00 00 00 00 87 |..j.<@-.|........|
|00001250| 83 c0 01 82 40 0b a1 90 | 6d 65 74 61 4c 65 73 73 |....@...|metaLess|
|00001260| 6f 6e 4f 62 6a 65 63 74 | 81 00 3d 0c 00 80 00 0a |onObject|..=.....|
|00001270| d5 96 01 ff ff 00 00 00 | 0d 4c 65 73 73 6f 6e 4f |........|.LessonO|
|00001280| 62 6a 65 63 74 2b 80 01 | d5 98 01 05 6a d6 1a 01 |bject+..|....j...|
|00001290| d5 98 01 07 41 d6 26 01 | d5 98 01 07 40 d6 28 01 |....A.&.|....@.(.|
|000012a0| d5 98 01 03 6d d6 1e 01 | d5 98 01 03 56 d6 20 01 |....m...|....V. .|
|000012b0| d5 98 01 03 6c d6 22 01 | d5 98 01 03 55 d6 24 01 |....l.".|....U.$.|
|000012c0| d5 98 01 03 62 d6 1c 01 | d5 98 01 07 3f d6 2a 01 |....b...|....?.*.|
|000012d0| d5 96 00 00 2f 00 3e 00 | 00 00 00 0a 83 c2 dc 81 |..../.>.|........|
|000012e0| 89 88 80 80 00 3f 00 00 | 00 00 00 0a 83 c2 dc 81 |.....?..|........|
|000012f0| 84 83 80 80 00 40 00 00 | 00 00 00 0a 83 c2 dc 81 |.....@..|........|
|00001300| a1 a0 80 80 00 41 00 00 | 00 00 00 19 83 c2 f4 00 |.....A..|........|
|00001310| 42 0f 7f 7f 7f ff 0f 7f | 7f 7f ff 02 8f 29 b0 29 |B.......|.....).)|
|00001320| 9f 80 80 00 43 00 00 00 | 00 00 00 08 83 c0 9c 00 |....C...|........|
|00001330| 44 93 93 81 00 00 00 08 | 83 c0 9c 00 45 81 94 81 |D.......|....E...|
|00001340| 00 00 00 19 83 c2 f4 00 | 46 0f 7f 7f 7f ff 0f 7f |........|F.......|
|00001350| 7f 7f ff 01 92 01 e5 01 | e2 80 80 00 47 00 00 00 |........|....G...|
|00001360| 00 00 00 08 83 c0 9c 00 | 48 88 94 81 00 00 00 09 |........|H.......|
|00001370| 83 c1 6a 00 49 40 2d b6 | 9b 00 00 00 00 00 00 09 |..j.I@-.|........|
|00001380| 83 c1 6a 00 4a 40 2d b6 | 9b 00 00 00 00 00 00 0a |..j.J@-.|........|
|00001390| 83 c2 e0 81 8d 8c 80 80 | 00 4b 00 00 00 00 00 3e |........|.K.....>|
|000013a0| 82 02 ca 9d 00 09 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 7e 82 02 ca bd | 00 13 00 4c 00 00 00 00 |...~....|...L....|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 18 | 82 02 b8 94 47 72 61 70 |........|....Grap|
|00001470| 68 69 63 73 00 00 00 00 | 00 00 00 00 00 00 00 00 |hics....|........|
|00001480| 00 00 00 7e 82 02 ca bd | 00 00 00 00 00 00 00 00 |...~....|........|
|00001490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014a0| 00 00 00 00 00 4d 00 4e | 00 00 00 00 00 00 00 00 |.....M.N|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 4f 00 50 00 00 00 00 |........|.O.P....|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 00 00 00 00 00 00 08 | 83 c1 58 d5 98 01 03 ed |........|..X.....|
|00001510| 00 00 00 10 82 02 c2 82 | 00 00 c0 01 82 40 0b 8a |........|.....@..|
|00001520| 00 00 00 00 00 00 00 09 | 83 c2 14 d5 96 03 40 51 |........|......@Q|
|00001530| 03 00 00 00 00 00 00 4b | 83 c0 c2 00 00 52 00 00 |.......K|.....R..|
|00001540| 00 53 00 54 00 12 40 55 | d5 96 00 03 00 01 00 01 |.S.T..@U|........|
|00001550| 00 00 00 00 01 ff ff 00 | 0e 00 00 56 00 00 57 00 |........|...V..W.|
|00001560| 00 58 00 00 59 00 00 5a | 00 00 5b 00 00 5c 00 00 |.X..Y..Z|..[..\..|
|00001570| 5d 00 00 5e 00 00 5f 00 | 00 60 00 00 61 00 00 62 |]..^.._.|.`..a..b|
|00001580| 00 00 63 00 00 00 00 18 | 82 02 b8 94 47 72 61 70 |..c.....|....Grap|
|00001590| 68 69 63 73 00 00 00 00 | 00 00 00 00 00 00 00 00 |hics....|........|
|000015a0| 00 00 00 08 82 02 b8 84 | 53 68 31 00 00 00 00 18 |........|Sh1.....|
|000015b0| 82 02 b8 94 44 69 73 70 | 6c 61 79 69 6e 67 20 53 |....Disp|laying S|
|000015c0| 68 61 70 65 73 00 00 00 | 00 00 00 09 83 c0 9c 00 |hapes...|........|
|000015d0| 64 04 eb 8a 81 00 00 00 | 00 00 3f f9 82 02 b8 7f |d.......|..?.....|
|000015e0| f4 44 69 73 70 6c 61 79 | 69 6e 67 20 53 68 61 70 |.Display|ing Shap|
|000015f0| 65 73 0d 54 68 69 73 20 | 6c 65 73 73 6f 6e 20 74 |es.This |lesson t|
|00001600| 65 61 63 68 65 73 20 68 | 6f 77 20 74 6f 20 64 69 |eaches h|ow to di|
|00001610| 73 70 6c 61 79 20 73 68 | 61 70 65 73 20 69 6e 20 |splay sh|apes in |
|00001620| 61 20 77 69 6e 64 6f 77 | 2c 20 62 79 20 64 69 73 |a window|, by dis|
|00001630| 63 75 73 73 69 6e 67 3a | 0d e2 80 a2 09 48 6f 77 |cussing:|.....How|
|00001640| 20 74 6f 20 63 72 65 61 | 74 65 20 61 20 53 74 65 | to crea|te a Ste|
|00001650| 6e 63 69 6c 20 6f 62 6a | 65 63 74 20 74 68 61 74 |ncil obj|ect that|
|00001660| 20 64 65 66 69 6e 65 73 | 20 61 20 73 68 61 70 65 | defines| a shape|
|00001670| 2c 20 73 75 63 68 20 61 | 73 20 61 20 72 65 63 74 |, such a|s a rect|
|00001680| 61 6e 67 6c 65 20 6f 72 | 20 6f 76 61 6c 2e 0d e2 |angle or| oval...|
|00001690| 80 a2 09 48 6f 77 20 74 | 6f 20 63 72 65 61 74 65 |...How t|o create|
|000016a0| 20 61 20 54 77 6f 44 53 | 68 61 70 65 20 6f 62 6a | a TwoDS|hape obj|
|000016b0| 65 63 74 20 74 6f 20 70 | 72 65 73 65 6e 74 20 74 |ect to p|resent t|
|000016c0| 68 65 20 73 74 65 6e 63 | 69 6c 2e 0d e2 80 a2 09 |he stenc|il......|
|000016d0| 48 6f 77 20 74 6f 20 64 | 69 73 70 6c 61 79 20 74 |How to d|isplay t|
|000016e0| 68 65 20 54 77 6f 44 53 | 68 61 70 65 20 6f 62 6a |he TwoDS|hape obj|
|000016f0| 65 63 74 20 69 6e 20 61 | 20 77 69 6e 64 6f 77 2e |ect in a| window.|
|00001700| 0d e2 80 a2 09 48 6f 77 | 20 74 6f 20 63 72 65 61 |.....How| to crea|
|00001710| 74 65 20 6e 65 77 20 42 | 72 75 73 68 20 61 6e 64 |te new B|rush and|
|00001720| 20 52 47 42 43 6f 6c 6f | 72 20 6f 62 6a 65 63 74 | RGBColo|r object|
|00001730| 73 20 74 6f 20 75 73 65 | 20 74 6f 20 66 69 6c 6c |s to use| to fill|
|00001740| 20 69 6e 20 61 20 73 68 | 61 70 65 20 6f 72 20 74 | in a sh|ape or t|
|00001750| 6f 20 70 61 69 6e 74 20 | 61 20 73 68 61 70 65 e2 |o paint |a shape.|
|00001760| 80 99 73 20 6f 75 74 6c | 69 6e 65 2e 0d e2 80 a2 |..s outl|ine.....|
|00001770| 09 48 6f 77 20 74 6f 20 | 63 72 65 61 74 65 20 61 |.How to |create a|
|00001780| 6e 20 61 72 62 69 74 72 | 61 72 79 20 73 68 61 70 |n arbitr|ary shap|
|00001790| 65 20 62 79 20 75 73 69 | 6e 67 20 74 68 65 20 50 |e by usi|ng the P|
|000017a0| 61 74 68 20 63 6c 61 73 | 73 2e 0d 49 6e 74 72 6f |ath clas|s..Intro|
|000017b0| 64 75 63 74 69 6f 6e 0d | 54 6f 20 64 69 73 70 6c |duction.|To displ|
|000017c0| 61 79 20 73 68 61 70 65 | 73 20 61 6e 64 20 69 6d |ay shape|s and im|
|000017d0| 61 67 65 73 20 69 6e 20 | 53 63 72 69 70 74 58 2c |ages in |ScriptX,|
|000017e0| 20 79 6f 75 20 63 72 65 | 61 74 65 20 54 77 6f 44 | you cre|ate TwoD|
|000017f0| 53 68 61 70 65 20 6f 62 | 6a 65 63 74 73 20 74 68 |Shape ob|jects th|
|00001800| 61 74 20 70 72 65 73 65 | 6e 74 20 53 74 65 6e 63 |at prese|nt Stenc|
|00001810| 69 6c 20 6f 62 6a 65 63 | 74 73 2e 20 54 68 65 20 |il objec|ts. The |
|00001820| 53 74 65 6e 63 69 6c 20 | 6f 62 6a 65 63 74 20 69 |Stencil |object i|
|00001830| 73 20 74 68 65 20 73 68 | 61 70 65 20 6f 72 20 69 |s the sh|ape or i|
|00001840| 6d 61 67 65 20 74 6f 20 | 62 65 20 70 72 65 73 65 |mage to |be prese|
|00001850| 6e 74 65 64 2c 20 73 75 | 63 68 20 61 73 20 61 20 |nted, su|ch as a |
|00001860| 72 65 63 74 61 6e 67 6c | 65 20 6f 72 20 61 6e 20 |rectangl|e or an |
|00001870| 6f 76 61 6c 2e 20 41 20 | 73 74 65 6e 63 69 6c 20 |oval. A |stencil |
|00001880| 63 61 6e 6e 6f 74 20 62 | 65 20 73 65 65 6e 20 75 |cannot b|e seen u|
|00001890| 6e 6c 65 73 73 20 69 74 | 20 69 73 20 70 75 74 20 |nless it| is put |
|000018a0| 69 6e 20 61 20 70 72 65 | 73 65 6e 74 65 72 20 73 |in a pre|senter s|
|000018b0| 75 63 68 20 61 73 20 61 | 20 54 77 6f 44 53 68 61 |uch as a| TwoDSha|
|000018c0| 70 65 2e 20 49 6e 20 74 | 75 72 6e 2c 20 61 20 70 |pe. In t|urn, a p|
|000018d0| 72 65 73 65 6e 74 65 72 | 20 63 61 6e 6e 6f 74 20 |resenter| cannot |
|000018e0| 62 65 20 73 65 65 6e 20 | 75 6e 6c 65 73 73 20 69 |be seen |unless i|
|000018f0| 74 20 69 73 20 70 75 74 | 20 69 6e 20 61 20 76 69 |t is put| in a vi|
|00001900| 73 69 62 6c 65 20 74 77 | 6f 20 64 69 6d 65 6e 73 |sible tw|o dimens|
|00001910| 69 6f 6e 61 6c 20 73 70 | 61 63 65 2c 20 73 75 63 |ional sp|ace, suc|
|00001920| 68 20 61 73 20 61 20 57 | 69 6e 64 6f 77 2e 20 43 |h as a W|indow. C|
|00001930| 6f 6e 73 69 64 65 72 20 | 74 68 65 20 61 6e 61 6c |onsider |the anal|
|00001940| 6f 67 79 20 77 69 74 68 | 20 61 20 70 61 69 6e 74 |ogy with| a paint|
|00001950| 69 6e 67 3a 20 79 6f 75 | 20 6d 75 73 74 20 70 75 |ing: you| must pu|
|00001960| 74 20 74 68 65 20 70 61 | 69 6e 74 69 6e 67 20 28 |t the pa|inting (|
|00001970| 73 74 65 6e 63 69 6c 29 | 20 69 6e 20 61 20 66 72 |stencil)| in a fr|
|00001980| 61 6d 65 20 28 70 72 65 | 73 65 6e 74 65 72 29 20 |ame (pre|senter) |
|00001990| 61 6e 64 20 68 61 6e 67 | 20 74 68 65 20 66 72 61 |and hang| the fra|
|000019a0| 6d 65 20 6f 6e 20 61 20 | 77 61 6c 6c 20 28 74 77 |me on a |wall (tw|
|000019b0| 6f 20 64 69 6d 65 6e 73 | 69 6f 6e 61 6c 20 73 70 |o dimens|ional sp|
|000019c0| 61 63 65 29 2e 0d 54 68 | 65 20 73 68 61 70 65 20 |ace)..Th|e shape |
|000019d0| 74 68 61 74 20 61 20 54 | 77 6f 44 53 68 61 70 65 |that a T|woDShape|
|000019e0| 20 64 69 73 70 6c 61 79 | 73 20 69 73 20 64 65 74 | display|s is det|
|000019f0| 65 72 6d 69 6e 65 64 20 | 62 79 20 74 68 65 20 76 |ermined |by the v|
|00001a00| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 73 68 61 70 |alue of |the shap|
|00001a10| 65 e2 80 99 73 20 62 6f | 75 6e 64 61 72 79 20 69 |e...s bo|undary i|
|00001a20| 6e 73 74 61 6e 63 65 20 | 76 61 72 69 61 62 6c 65 |nstance |variable|
|00001a30| 2e 20 54 68 69 73 20 76 | 61 6c 75 65 20 6d 75 73 |. This v|alue mus|
|00001a40| 74 20 62 65 20 61 20 53 | 74 65 6e 63 69 6c 20 6f |t be a S|tencil o|
|00001a50| 62 6a 65 63 74 2c 20 73 | 75 63 68 20 61 73 20 61 |bject, s|uch as a|
|00001a60| 20 52 65 63 74 20 6f 72 | 20 4f 76 61 6c 20 6f 62 | Rect or| Oval ob|
|00001a70| 6a 65 63 74 2e 20 54 68 | 65 20 63 6f 6c 6f 72 20 |ject. Th|e color |
|00001a80| 61 6e 64 20 70 61 74 74 | 65 72 6e 20 74 68 61 74 |and patt|ern that|
|00001a90| 20 74 68 65 20 73 74 65 | 6e 63 69 6c 20 69 73 20 | the ste|ncil is |
|00001aa0| 66 69 6c 6c 65 64 20 69 | 6e 20 77 69 74 68 20 69 |filled i|n with i|
|00001ab0| 73 20 64 65 74 65 72 6d | 69 6e 65 64 20 62 79 20 |s determ|ined by |
|00001ac0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 74 68 65 |the valu|e of the|
|00001ad0| 20 73 68 61 70 65 e2 80 | 99 73 20 66 69 6c 6c 20 | shape..|.s fill |
|00001ae0| 69 6e 73 74 61 6e 63 65 | 20 76 61 72 69 61 62 6c |instance| variabl|
|00001af0| 65 2c 20 77 68 69 63 68 | 20 6d 75 73 74 20 62 65 |e, which| must be|
|00001b00| 20 61 20 42 72 75 73 68 | 20 6f 62 6a 65 63 74 2e | a Brush| object.|
|00001b10| 20 54 68 65 20 63 6f 6c | 6f 72 20 61 6e 64 20 70 | The col|or and p|
|00001b20| 61 74 74 65 72 6e 20 6f | 66 20 74 68 65 20 6f 75 |attern o|f the ou|
|00001b30| 74 6c 69 6e 65 20 6f 66 | 20 74 68 65 20 73 74 65 |tline of| the ste|
|00001b40| 6e 63 69 6c 20 69 73 20 | 64 65 74 65 72 6d 69 6e |ncil is |determin|
|00001b50| 65 64 20 62 79 20 74 68 | 65 20 76 61 6c 75 65 20 |ed by th|e value |
|00001b60| 6f 66 20 74 68 65 20 73 | 68 61 70 65 e2 80 99 73 |of the s|hape...s|
|00001b70| 20 73 74 72 6f 6b 65 20 | 69 6e 73 74 61 6e 63 65 | stroke |instance|
|00001b80| 20 76 61 72 69 61 62 6c | 65 2c 20 77 68 69 63 68 | variabl|e, which|
|00001b90| 20 6d 75 73 74 20 62 65 | 20 61 20 42 72 75 73 68 | must be| a Brush|
|00001ba0| 20 6f 62 6a 65 63 74 2e | 0d 43 72 65 61 74 69 6e | object.|.Creatin|
|00001bb0| 67 20 61 20 57 69 6e 64 | 6f 77 0d 42 65 66 6f 72 |g a Wind|ow.Befor|
|00001bc0| 65 20 63 72 65 61 74 69 | 6e 67 20 61 6e 64 20 64 |e creati|ng and d|
|00001bd0| 72 61 77 69 6e 67 20 67 | 65 6f 6d 65 74 72 69 63 |rawing g|eometric|
|00001be0| 20 6f 62 6a 65 63 74 73 | 2c 20 79 6f 75 20 6e 65 | objects|, you ne|
|00001bf0| 65 64 20 74 6f 20 68 61 | 76 65 20 61 20 77 69 6e |ed to ha|ve a win|
|00001c00| 64 6f 77 20 6f 6e 20 74 | 68 65 20 73 63 72 65 65 |dow on t|he scree|
|00001c10| 6e 20 69 6e 20 77 68 69 | 63 68 20 74 6f 20 64 72 |n in whi|ch to dr|
|00001c20| 61 77 20 74 68 65 6d 2e | 20 54 68 65 20 66 6f 6c |aw them.| The fol|
|00001c30| 6c 6f 77 69 6e 67 20 63 | 6f 64 65 20 73 68 6f 77 |lowing c|ode show|
|00001c40| 73 20 61 6e 20 65 78 61 | 6d 70 6c 65 20 6f 66 20 |s an exa|mple of |
|00001c50| 63 72 65 61 74 69 6e 67 | 20 61 20 77 69 6e 64 6f |creating| a windo|
|00001c60| 77 20 74 68 61 74 20 69 | 73 20 32 33 30 20 70 69 |w that i|s 230 pi|
|00001c70| 78 65 6c 73 20 77 69 64 | 65 20 62 79 20 32 33 30 |xels wid|e by 230|
|00001c80| 20 70 69 78 65 6c 73 20 | 68 69 67 68 2e 0d 67 6c | pixels |high..gl|
|00001c90| 6f 62 61 6c 20 77 69 6e | 20 3a 3d 20 6e 65 77 20 |obal win| := new |
|00001ca0| 57 69 6e 64 6f 77 20 62 | 6f 75 6e 64 61 72 79 3a |Window b|oundary:|
|00001cb0| 20 28 6e 65 77 20 52 65 | 63 74 20 78 32 3a 32 33 | (new Re|ct x2:23|
|00001cc0| 30 20 79 32 3a 32 33 30 | 29 0d 54 68 65 20 62 6f |0 y2:230|).The bo|
|00001cd0| 75 6e 64 61 72 79 20 6b | 65 79 77 6f 72 64 20 73 |undary k|eyword s|
|00001ce0| 70 65 63 69 66 69 65 73 | 20 74 68 65 20 73 69 7a |pecifies| the siz|
|00001cf0| 65 20 6f 66 20 74 68 65 | 20 72 65 63 74 61 6e 67 |e of the| rectang|
|00001d00| 75 6c 61 72 20 73 68 61 | 70 65 20 75 73 65 64 20 |ular sha|pe used |
|00001d10| 62 79 20 74 68 65 20 77 | 69 6e 64 6f 77 2e 20 28 |by the w|indow. (|
|00001d20| 54 68 65 20 52 65 63 74 | 20 63 6c 61 73 73 20 69 |The Rect| class i|
|00001d30| 73 20 64 65 73 63 72 69 | 62 65 64 20 66 75 72 74 |s descri|bed furt|
|00001d40| 68 65 72 20 6f 6e 20 69 | 6e 20 74 68 69 73 20 6c |her on i|n this l|
|00001d50| 65 73 73 6f 6e 2e 29 20 | 46 6f 72 20 6e 6f 77 2c |esson.) |For now,|
|00001d60| 20 61 6c 6c 20 79 6f 75 | 20 6e 65 65 64 20 74 6f | all you| need to|
|00001d70| 20 6b 6e 6f 77 20 69 73 | 20 74 68 61 74 20 79 6f | know is| that yo|
|00001d80| 75 72 20 6e 65 77 20 77 | 69 6e 64 6f 77 20 69 73 |ur new w|indow is|
|00001d90| 20 32 33 30 20 78 20 32 | 33 30 20 70 69 78 65 6c | 230 x 2|30 pixel|
|00001da0| 73 2e 20 54 68 65 20 62 | 6f 75 6e 64 61 72 79 20 |s. The b|oundary |
|00001db0| 6b 65 79 77 6f 72 64 20 | 69 73 20 6f 70 74 69 6f |keyword |is optio|
|00001dc0| 6e 61 6c 3b 20 77 69 74 | 68 6f 75 74 20 61 20 73 |nal; wit|hout a s|
|00001dd0| 70 65 63 69 66 69 63 20 | 62 6f 75 6e 64 61 72 79 |pecific |boundary|
|00001de0| 2c 20 74 68 65 20 73 69 | 7a 65 20 6f 66 20 74 68 |, the si|ze of th|
|00001df0| 65 20 6e 65 77 20 77 69 | 6e 64 6f 77 20 77 6f 75 |e new wi|ndow wou|
|00001e00| 6c 64 20 62 65 20 36 30 | 30 20 78 20 34 30 30 20 |ld be 60|0 x 400 |
|00001e10| 70 69 78 65 6c 73 20 6c | 61 72 67 65 2e 0d 53 68 |pixels l|arge..Sh|
|00001e20| 6f 77 69 6e 67 20 61 20 | 57 69 6e 64 6f 77 0d 43 |owing a |Window.C|
|00001e30| 72 65 61 74 69 6e 67 20 | 61 20 77 69 6e 64 6f 77 |reating |a window|
|00001e40| 20 64 6f 65 73 20 6e 6f | 74 20 6f 70 65 6e 20 74 | does no|t open t|
|00001e50| 68 65 20 77 69 6e 64 6f | 77 2e 20 54 6f 20 6f 70 |he windo|w. To op|
|00001e60| 65 6e 20 69 74 2c 20 28 | 6f 72 20 73 68 6f 77 20 |en it, (|or show |
|00001e70| 69 74 29 2c 20 63 61 6c | 6c 20 69 74 73 20 73 68 |it), cal|l its sh|
|00001e80| 6f 77 20 6d 65 74 68 6f | 64 2c 20 61 73 20 66 6f |ow metho|d, as fo|
|00001e90| 6c 6c 6f 77 73 3a 0d 73 | 68 6f 77 20 77 69 6e 0d |llows:.s|how win.|
|00001ea0| 4d 6f 76 69 6e 67 20 61 | 20 57 69 6e 64 6f 77 0d |Moving a| Window.|
|00001eb0| 54 6f 20 6d 6f 76 65 20 | 61 20 77 69 6e 64 6f 77 |To move |a window|
|00001ec0| 2c 20 73 65 74 20 69 74 | 73 20 78 20 61 6e 64 20 |, set it|s x and |
|00001ed0| 79 20 76 61 6c 75 65 73 | 2e 20 54 68 65 20 70 6f |y values|. The po|
|00001ee0| 69 6e 74 20 6f 66 20 6f | 72 69 67 69 6e 20 28 30 |int of o|rigin (0|
|00001ef0| 2c 20 30 29 20 69 73 20 | 74 68 65 20 74 6f 70 2c |, 0) is |the top,|
|00001f00| 20 6c 65 66 74 20 6f 66 | 20 74 68 65 20 73 63 72 | left of| the scr|
|00001f10| 65 65 6e 2e 20 54 68 65 | 20 78 20 76 61 6c 75 65 |een. The| x value|
|00001f20| 20 69 6e 63 72 65 61 73 | 65 73 20 74 6f 20 74 68 | increas|es to th|
|00001f30| 65 20 72 69 67 68 74 2c | 20 61 6e 64 20 74 68 65 |e right,| and the|
|00001f40| 20 79 20 76 61 6c 75 65 | 20 69 6e 63 72 65 61 73 | y value| increas|
|00001f50| 65 73 20 67 6f 69 6e 67 | 20 64 6f 77 6e 2e 20 54 |es going| down. T|
|00001f60| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 63 6f 64 |he follo|wing cod|
|00001f70| 65 20 70 6f 73 69 74 69 | 6f 6e 73 20 74 68 65 20 |e positi|ons the |
|00001f80| 77 69 6e 64 6f 77 20 34 | 30 20 70 69 78 65 6c 73 |window 4|0 pixels|
|00001f90| 20 74 6f 20 74 68 65 20 | 72 69 67 68 74 20 61 6e | to the |right an|
|00001fa0| 64 20 34 30 20 70 69 78 | 65 6c 73 20 64 6f 77 6e |d 40 pix|els down|
|00001fb0| 20 66 72 6f 6d 20 74 68 | 65 20 74 6f 70 20 6f 66 | from th|e top of|
|00001fc0| 20 74 68 65 20 73 63 72 | 65 65 6e 2e 0d 77 69 6e | the scr|een..win|
|00001fd0| 2e 78 20 3a 3d 20 34 30 | 0d 77 69 6e 2e 79 20 3a |.x := 40|.win.y :|
|00001fe0| 3d 20 34 30 0d 43 72 65 | 61 74 69 6e 67 20 61 20 |= 40.Cre|ating a |
|00001ff0| 52 65 63 74 61 6e 67 6c | 65 2c 20 4f 76 61 6c 2c |Rectangl|e, Oval,|
|00002000| 20 4c 69 6e 65 2c 20 6f | 72 20 43 75 72 76 65 0d | Line, o|r Curve.|
|00002010| 53 63 72 69 70 74 58 20 | 68 61 73 20 61 20 63 6c |ScriptX |has a cl|
|00002020| 61 73 73 20 53 74 65 6e | 63 69 6c 20 77 68 6f 73 |ass Sten|cil whos|
|00002030| 65 20 73 75 62 63 6c 61 | 73 73 65 73 20 69 6e 63 |e subcla|sses inc|
|00002040| 6c 75 64 65 20 52 65 63 | 74 2c 20 52 6f 75 6e 64 |lude Rec|t, Round|
|00002050| 52 65 63 74 2c 20 4f 76 | 61 6c 2c 20 4c 69 6e 65 |Rect, Ov|al, Line|
|00002060| 2c 20 61 6e 64 20 43 75 | 72 76 65 2e 20 54 6f 20 |, and Cu|rve. To |
|00002070| 64 69 73 70 6c 61 79 20 | 61 20 73 68 61 70 65 20 |display |a shape |
|00002080| 73 75 63 68 20 61 73 20 | 61 20 72 65 63 74 61 6e |such as |a rectan|
|00002090| 67 6c 65 2c 20 72 6f 75 | 6e 64 65 64 20 72 65 63 |gle, rou|nded rec|
|000020a0| 74 61 6e 67 6c 65 2c 20 | 6f 76 61 6c 2c 20 6c 69 |tangle, |oval, li|
|000020b0| 6e 65 2c 20 6f 72 20 63 | 75 72 76 65 2c 20 63 72 |ne, or c|urve, cr|
|000020c0| 65 61 74 65 20 61 6e 20 | 69 6e 73 74 61 6e 63 65 |eate an |instance|
|000020d0| 20 6f 66 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 | of the |appropri|
|000020e0| 61 74 65 20 63 6c 61 73 | 73 20 6f 66 20 53 74 65 |ate clas|s of Ste|
|000020f0| 6e 63 69 6c 20 61 6e 64 | 20 75 73 65 20 69 74 20 |ncil and| use it |
|00002100| 61 73 20 74 68 65 20 62 | 6f 75 6e 64 61 72 79 20 |as the b|oundary |
|00002110| 6f 66 20 61 20 54 77 6f | 44 53 68 61 70 65 20 6f |of a Two|DShape o|
|00002120| 62 6a 65 63 74 2e 0d 57 | 68 65 6e 20 63 72 65 61 |bject..W|hen crea|
|00002130| 74 69 6e 67 20 61 20 52 | 65 63 74 2c 52 6f 75 6e |ting a R|ect,Roun|
|00002140| 64 52 65 63 74 2c 20 4f | 76 61 6c 2c 20 4c 69 6e |dRect, O|val, Lin|
|00002150| 65 2c 20 6f 72 20 43 75 | 72 76 65 20 6f 62 6a 65 |e, or Cu|rve obje|
|00002160| 63 74 2c 20 79 6f 75 20 | 63 61 6e 20 73 70 65 63 |ct, you |can spec|
|00002170| 69 66 79 20 69 74 73 20 | 78 31 2c 20 78 32 2c 20 |ify its |x1, x2, |
|00002180| 79 31 2c 20 61 6e 64 20 | 79 32 20 76 61 6c 75 65 |y1, and |y2 value|
|00002190| 73 2c 20 77 68 69 63 68 | 20 64 65 66 69 6e 65 20 |s, which| define |
|000021a0| 74 68 65 20 78 20 61 6e | 64 20 79 20 63 6f 6f 72 |the x an|d y coor|
|000021b0| 64 69 6e 61 74 65 73 20 | 6f 66 20 69 74 73 20 74 |dinates |of its t|
|000021c0| 6f 70 20 6c 65 66 74 20 | 61 6e 64 20 62 6f 74 74 |op left |and bott|
|000021d0| 6f 6d 20 72 69 67 68 74 | 20 63 6f 72 6e 65 72 73 |om right| corners|
|000021e0| 2c 20 77 69 74 68 69 6e | 20 69 74 73 20 6f 77 6e |, within| its own|
|000021f0| 20 63 6f 6f 72 64 69 6e | 61 74 65 20 73 79 73 74 | coordin|ate syst|
|00002200| 65 6d 2e 20 54 68 65 73 | 65 20 63 6f 6f 72 64 69 |em. Thes|e coordi|
|00002210| 6e 61 74 65 73 20 64 6f | 20 6e 6f 74 20 73 70 65 |nates do| not spe|
|00002220| 63 69 66 79 20 74 68 65 | 20 70 6f 73 69 74 69 6f |cify the| positio|
|00002230| 6e 20 6f 66 20 74 68 65 | 20 73 74 65 6e 63 69 6c |n of the| stencil|
|00002240| 20 6f 6e 20 74 68 65 20 | 73 63 72 65 65 6e 2e 20 | on the |screen. |
|00002250| 54 68 65 79 20 61 72 65 | 20 74 68 65 20 63 6f 6f |They are| the coo|
|00002260| 72 64 69 6e 61 74 65 73 | 20 74 68 65 20 73 74 65 |rdinates| the ste|
|00002270| 6e 63 69 6c 20 77 69 6c | 6c 20 68 61 76 65 20 69 |ncil wil|l have i|
|00002280| 6e 20 72 65 6c 61 74 69 | 6f 6e 20 74 6f 20 69 74 |n relati|on to it|
|00002290| 73 20 70 72 65 73 65 6e | 74 65 72 20 77 68 65 6e |s presen|ter when|
|000022a0| 20 69 74 20 69 73 20 70 | 75 74 20 69 6e 20 61 20 | it is p|ut in a |
|000022b0| 70 72 65 73 65 6e 74 65 | 72 20 73 75 63 68 20 61 |presente|r such a|
|000022c0| 73 20 61 20 74 77 6f 20 | 44 20 73 68 61 70 65 2e |s a two |D shape.|
|000022d0| 20 54 68 65 20 70 72 65 | 73 65 6e 74 65 72 20 69 | The pre|senter i|
|000022e0| 6e 20 74 75 72 6e 20 77 | 69 6c 6c 20 68 61 76 65 |n turn w|ill have|
|000022f0| 20 78 20 61 6e 64 20 79 | 20 63 6f 6f 72 64 69 6e | x and y| coordin|
|00002300| 61 74 65 73 20 74 68 61 | 74 20 64 65 74 65 72 6d |ates tha|t determ|
|00002310| 69 6e 65 20 69 74 73 20 | 70 6f 73 69 74 69 6f 6e |ine its |position|
|00002320| 20 69 6e 20 61 20 77 69 | 6e 64 6f 77 2e 20 0d 57 | in a wi|ndow. .W|
|00002330| 68 65 6e 20 63 72 65 61 | 74 69 6e 67 20 69 6e 73 |hen crea|ting ins|
|00002340| 74 61 6e 63 65 73 20 6f | 66 20 52 65 63 74 2c 52 |tances o|f Rect,R|
|00002350| 6f 75 6e 64 52 65 63 74 | 2c 20 4f 76 61 6c 2c 20 |oundRect|, Oval, |
|00002360| 4c 69 6e 65 2c 20 6f 72 | 20 43 75 72 76 65 2c 20 |Line, or| Curve, |
|00002370| 69 74 20 69 73 20 73 61 | 66 65 73 74 20 74 6f 20 |it is sa|fest to |
|00002380| 73 75 70 70 6c 79 20 76 | 61 6c 75 65 73 20 66 6f |supply v|alues fo|
|00002390| 72 20 78 32 20 61 6e 64 | 20 79 32 2c 20 61 6e 64 |r x2 and| y2, and|
|000023a0| 20 6c 65 61 76 65 20 6f | 75 74 20 78 31 20 61 6e | leave o|ut x1 an|
|000023b0| 64 20 79 31 20 74 6f 20 | 6c 65 74 20 74 68 65 6d |d y1 to |let them|
|000023c0| 20 64 65 66 61 75 6c 74 | 20 74 6f 20 30 2e 20 49 | default| to 0. I|
|000023d0| 66 20 78 31 20 69 73 20 | 30 2c 20 74 68 65 6e 20 |f x1 is |0, then |
|000023e0| 79 6f 75 20 63 61 6e 20 | 74 68 69 6e 6b 20 6f 66 |you can |think of|
|000023f0| 20 78 32 20 61 73 20 73 | 70 65 63 69 66 79 69 6e | x2 as s|pecifyin|
|00002400| 67 20 74 68 65 20 77 69 | 64 74 68 20 6f 66 20 74 |g the wi|dth of t|
|00002410| 68 65 20 73 68 61 70 65 | 2e 20 53 69 6d 69 6c 61 |he shape|. Simila|
|00002420| 72 6c 79 2c 20 69 66 20 | 79 31 20 69 73 20 30 2c |rly, if |y1 is 0,|
|00002430| 20 74 68 65 6e 20 79 32 | 20 73 70 65 63 69 66 69 | then y2| specifi|
|00002440| 65 73 20 74 68 65 20 68 | 65 69 67 68 74 20 6f 66 |es the h|eight of|
|00002450| 20 74 68 65 20 73 68 61 | 70 65 2e 20 28 57 68 65 | the sha|pe. (Whe|
|00002460| 6e 20 63 72 65 61 74 69 | 6e 67 20 61 20 43 75 72 |n creati|ng a Cur|
|00002470| 76 65 20 6f 62 6a 65 63 | 74 2c 20 79 6f 75 20 63 |ve objec|t, you c|
|00002480| 61 6e 20 61 6c 73 6f 20 | 73 70 65 63 69 66 79 20 |an also |specify |
|00002490| 74 77 6f 20 63 6f 6e 74 | 72 6f 6c 20 70 6f 69 6e |two cont|rol poin|
|000024a0| 74 73 20 66 6f 72 20 74 | 68 65 20 63 75 72 76 65 |ts for t|he curve|
|000024b0| 20 77 68 69 63 68 20 64 | 65 74 65 72 6d 69 6e 65 | which d|etermine|
|000024c0| 20 74 68 65 20 63 75 72 | 76 61 74 75 72 65 2e 29 | the cur|vature.)|
|000024d0| 0d 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 63 |.The fol|lowing c|
|000024e0| 6f 64 65 20 73 68 6f 77 | 73 20 68 6f 77 20 74 6f |ode show|s how to|
|000024f0| 20 63 72 65 61 74 65 20 | 61 20 72 65 63 74 61 6e | create |a rectan|
|00002500| 67 6c 65 20 74 68 61 74 | 20 69 73 20 31 32 30 20 |gle that| is 120 |
|00002510| 70 69 78 65 6c 73 20 77 | 69 64 65 20 61 6e 64 20 |pixels w|ide and |
|00002520| 31 32 30 20 70 69 78 65 | 6c 73 20 68 69 67 68 2e |120 pixe|ls high.|
|00002530| 0d 67 6c 6f 62 61 6c 20 | 73 71 75 61 72 65 53 74 |.global |squareSt|
|00002540| 65 6e 63 69 6c 20 3a 3d | 20 6e 65 77 20 52 65 63 |encil :=| new Rec|
|00002550| 74 20 78 32 3a 31 32 30 | 20 79 32 3a 31 32 30 20 |t x2:120| y2:120 |
|00002560| 0d 43 72 65 61 74 69 6e | 67 20 61 20 54 77 6f 44 |.Creatin|g a TwoD|
|00002570| 53 68 61 70 65 20 74 6f | 20 50 72 65 73 65 6e 74 |Shape to| Present|
|00002580| 20 74 68 65 20 53 74 65 | 6e 63 69 6c 0d 43 72 65 | the Ste|ncil.Cre|
|00002590| 61 74 69 6e 67 20 61 20 | 53 74 65 6e 63 69 6c 20 |ating a |Stencil |
|000025a0| 6f 62 6a 65 63 74 20 64 | 6f 65 73 20 6e 6f 74 20 |object d|oes not |
|000025b0| 64 69 73 70 6c 61 79 20 | 74 68 65 20 73 68 61 70 |display |the shap|
|000025c0| 65 2e 20 59 6f 75 20 6d | 75 73 74 20 75 73 65 20 |e. You m|ust use |
|000025d0| 74 68 65 20 73 74 65 6e | 63 69 6c 20 61 73 20 74 |the sten|cil as t|
|000025e0| 68 65 20 62 6f 75 6e 64 | 61 72 79 20 6f 66 20 61 |he bound|ary of a|
|000025f0| 20 54 77 6f 44 53 68 61 | 70 65 2c 20 61 6e 64 20 | TwoDSha|pe, and |
|00002600| 74 68 65 6e 20 61 64 64 | 20 74 68 65 20 73 68 61 |then add| the sha|
|00002610| 70 65 20 74 6f 20 61 20 | 77 69 6e 64 6f 77 2e 20 |pe to a |window. |
|00002620| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 63 6f |The foll|owing co|
|00002630| 64 65 20 73 68 6f 77 73 | 20 68 6f 77 20 74 6f 20 |de shows| how to |
|00002640| 63 72 65 61 74 65 20 61 | 20 54 77 6f 44 53 68 61 |create a| TwoDSha|
|00002650| 70 65 20 6f 62 6a 65 63 | 74 20 74 68 61 74 20 75 |pe objec|t that u|
|00002660| 73 65 73 20 74 68 65 20 | 73 71 75 61 72 65 53 74 |ses the |squareSt|
|00002670| 65 6e 63 69 6c 20 73 74 | 65 6e 63 69 6c 20 61 73 |encil st|encil as|
|00002680| 20 69 74 73 20 62 6f 75 | 6e 64 61 72 79 2e 20 49 | its bou|ndary. I|
|00002690| 6e 20 74 68 69 73 20 65 | 78 61 6d 70 6c 65 2c 20 |n this e|xample, |
|000026a0| 77 65 20 61 6c 73 6f 20 | 73 70 65 63 69 66 79 20 |we also |specify |
|000026b0| 74 68 61 74 20 74 68 65 | 20 73 71 75 61 72 65 20 |that the| square |
|000026c0| 73 68 6f 75 6c 64 20 62 | 65 20 66 69 6c 6c 65 64 |should b|e filled|
|000026d0| 20 69 6e 20 62 6c 61 63 | 6b 2e 0d 67 6c 6f 62 61 | in blac|k..globa|
|000026e0| 6c 20 62 6c 61 63 6b 53 | 71 75 61 72 65 20 3a 3d |l blackS|quare :=|
|000026f0| 20 6e 65 77 20 54 77 6f | 44 53 68 61 70 65 20 5c | new Two|DShape \|
|00002700| 20 0d 09 62 6f 75 6e 64 | 61 72 79 3a 73 71 75 61 | ..bound|ary:squa|
|00002710| 72 65 53 74 65 6e 63 69 | 6c 20 5c 0d 09 66 69 6c |reStenci|l \..fil|
|00002720| 6c 3a 62 6c 61 63 6b 42 | 72 75 73 68 0d 41 64 64 |l:blackB|rush.Add|
|00002730| 69 6e 67 20 74 68 65 20 | 50 72 65 73 65 6e 74 65 |ing the |Presente|
|00002740| 72 20 74 6f 20 61 20 57 | 69 6e 64 6f 77 0d 49 66 |r to a W|indow.If|
|00002750| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 73 65 65 | you wan|t to see|
|00002760| 20 74 68 65 20 73 68 61 | 70 65 2c 20 79 6f 75 20 | the sha|pe, you |
|00002770| 6d 75 73 74 20 70 75 74 | 20 69 74 20 69 6e 20 61 |must put| it in a|
|00002780| 20 74 77 6f 20 64 69 6d | 65 6e 73 69 6f 6e 61 6c | two dim|ensional|
|00002790| 20 73 70 61 63 65 20 73 | 75 63 68 20 61 73 20 61 | space s|uch as a|
|000027a0| 20 77 69 6e 64 6f 77 2e | 20 41 20 73 70 61 63 65 | window.| A space|
|000027b0| 20 28 6f 72 20 77 69 6e | 64 6f 77 29 20 69 73 20 | (or win|dow) is |
|000027c0| 61 63 74 75 61 6c 6c 79 | 20 61 20 66 6f 72 6d 20 |actually| a form |
|000027d0| 6f 66 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 2e 20 59 |of colle|ction. Y|
|000027e0| 6f 75 20 63 61 6e 20 75 | 73 65 20 61 6e 79 20 6f |ou can u|se any o|
|000027f0| 66 20 74 68 65 20 63 6f | 6c 6c 65 63 74 69 6f 6e |f the co|llection|
|00002800| 20 6d 65 74 68 6f 64 73 | 20 66 6f 72 20 61 64 64 | methods| for add|
|00002810| 69 6e 67 20 61 6e 20 69 | 74 65 6d 20 74 6f 20 61 |ing an i|tem to a|
|00002820| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 74 6f 20 61 | collect|ion to a|
|00002830| 64 64 20 61 20 73 68 61 | 70 65 20 74 6f 20 61 20 |dd a sha|pe to a |
|00002840| 73 70 61 63 65 2e 20 54 | 68 65 20 6d 6f 73 74 20 |space. T|he most |
|00002850| 63 6f 6d 6d 6f 6e 20 6f | 66 20 74 68 65 73 65 20 |common o|f these |
|00002860| 6d 65 74 68 6f 64 73 20 | 61 72 65 20 61 70 70 65 |methods |are appe|
|00002870| 6e 64 20 61 6e 64 20 70 | 72 65 70 65 6e 64 2e 20 |nd and p|repend. |
|00002880| 0d 54 68 65 20 61 70 70 | 65 6e 64 20 6d 65 74 68 |.The app|end meth|
|00002890| 6f 64 20 61 64 64 73 20 | 74 68 65 20 73 68 61 70 |od adds |the shap|
|000028a0| 65 20 62 65 68 69 6e 64 | 20 61 6e 79 20 6f 74 68 |e behind| any oth|
|000028b0| 65 72 20 6f 76 65 72 6c | 61 70 70 69 6e 67 20 73 |er overl|apping s|
|000028c0| 68 61 70 65 73 20 69 6e | 20 74 68 65 20 77 69 6e |hapes in| the win|
|000028d0| 64 6f 77 2e 20 54 68 65 | 20 70 72 65 70 65 6e 64 |dow. The| prepend|
|000028e0| 20 6d 65 74 68 6f 64 20 | 61 64 64 73 20 74 68 65 | method |adds the|
|000028f0| 20 73 68 61 70 65 20 69 | 6e 20 66 72 6f 6e 74 20 | shape i|n front |
|00002900| 6f 66 20 61 6e 79 20 6f | 76 65 72 6c 61 70 70 69 |of any o|verlappi|
|00002910| 6e 67 20 73 68 61 70 65 | 73 20 69 6e 20 74 68 65 |ng shape|s in the|
|00002920| 20 77 69 6e 64 6f 77 2e | 20 0d 54 68 65 20 66 6f | window.| .The fo|
|00002930| 6c 6c 6f 77 69 6e 67 20 | 63 6f 64 65 20 73 68 6f |llowing |code sho|
|00002940| 77 73 20 68 6f 77 20 74 | 6f 20 61 64 64 20 74 68 |ws how t|o add th|
|00002950| 65 20 62 6c 61 63 6b 20 | 73 71 75 61 72 65 20 74 |e black |square t|
|00002960| 6f 20 74 68 65 20 66 72 | 6f 6e 74 20 6f 66 20 74 |o the fr|ont of t|
|00002970| 68 65 20 77 69 6e 64 6f | 77 2e 0d 70 72 65 70 65 |he windo|w..prepe|
|00002980| 6e 64 20 77 69 6e 20 62 | 6c 61 63 6b 53 71 75 61 |nd win b|lackSqua|
|00002990| 72 65 20 0d 28 53 63 72 | 69 70 74 58 20 68 61 73 |re .(Scr|iptX has|
|000029a0| 20 61 20 63 6c 61 73 73 | 20 63 61 6c 6c 65 64 20 | a class| called |
|000029b0| 54 77 6f 44 53 70 61 63 | 65 2c 20 77 68 69 63 68 |TwoDSpac|e, which|
|000029c0| 20 72 65 70 72 65 73 65 | 6e 74 73 20 74 77 6f 20 | represe|nts two |
|000029d0| 64 69 6d 65 6e 73 69 6f | 6e 61 6c 20 73 70 61 63 |dimensio|nal spac|
|000029e0| 65 73 20 69 6e 20 67 65 | 6e 65 72 61 6c 2e 20 54 |es in ge|neral. T|
|000029f0| 77 6f 44 53 70 61 63 65 | 20 6f 62 6a 65 63 74 73 |woDSpace| objects|
|00002a00| 20 63 61 6e 20 62 65 20 | 65 6d 62 65 64 64 65 64 | can be |embedded|
|00002a10| 20 69 6e 73 69 64 65 20 | 65 61 63 68 20 6f 74 68 | inside |each oth|
|00002a20| 65 72 2e 20 48 6f 77 65 | 76 65 72 2c 20 66 6f 72 |er. Howe|ver, for|
|00002a30| 20 74 68 69 73 20 6c 65 | 73 73 6f 6e 2c 20 74 6f | this le|sson, to|
|00002a40| 20 6b 65 65 70 20 74 68 | 69 6e 67 73 20 73 69 6d | keep th|ings sim|
|00002a50| 70 6c 65 2c 20 77 65 20 | 72 65 73 74 72 69 63 74 |ple, we |restrict|
|00002a60| 20 74 68 65 20 64 69 73 | 63 75 73 73 69 6f 6e 20 | the dis|cussion |
|00002a70| 74 6f 20 70 72 65 73 65 | 6e 74 65 72 73 20 64 69 |to prese|nters di|
|00002a80| 73 70 6c 61 79 65 64 20 | 64 69 72 65 63 74 6c 79 |splayed |directly|
|00002a90| 20 69 6e 20 61 20 77 69 | 6e 64 6f 77 2c 20 61 6c | in a wi|ndow, al|
|00002aa0| 74 68 6f 75 67 68 20 69 | 74 20 69 73 20 70 65 72 |though i|t is per|
|00002ab0| 66 65 63 74 6c 79 20 66 | 69 6e 65 20 66 6f 72 20 |fectly f|ine for |
|00002ac0| 61 20 70 72 65 73 65 6e | 74 65 72 20 74 6f 20 62 |a presen|ter to b|
|00002ad0| 65 20 61 64 64 65 64 20 | 74 6f 20 61 20 73 70 61 |e added |to a spa|
|00002ae0| 63 65 20 77 68 69 63 68 | 20 69 73 20 65 6d 62 65 |ce which| is embe|
|00002af0| 64 64 65 64 20 69 6e 20 | 61 20 77 69 6e 64 6f 77 |dded in |a window|
|00002b00| 2e 29 0d 4d 6f 76 69 6e | 67 20 74 68 65 20 50 72 |.).Movin|g the Pr|
|00002b10| 65 73 65 6e 74 65 72 20 | 74 6f 20 61 20 44 69 66 |esenter |to a Dif|
|00002b20| 66 65 72 65 6e 74 20 4c | 6f 63 61 74 69 6f 6e 0d |ferent L|ocation.|
|00002b30| 59 6f 75 20 63 61 6e 20 | 6d 6f 76 65 20 61 20 70 |You can |move a p|
|00002b40| 72 65 73 65 6e 74 65 72 | 20 74 6f 20 61 20 64 69 |resenter| to a di|
|00002b50| 66 66 65 72 65 6e 74 20 | 70 6f 73 69 74 69 6f 6e |fferent |position|
|00002b60| 20 69 6e 20 74 68 65 20 | 77 69 6e 64 6f 77 20 62 | in the |window b|
|00002b70| 79 20 63 68 61 6e 67 69 | 6e 67 20 74 68 65 20 76 |y changi|ng the v|
|00002b80| 61 6c 75 65 73 20 6f 66 | 20 69 74 73 20 78 20 61 |alues of| its x a|
|00002b90| 6e 64 20 79 20 69 6e 73 | 74 61 6e 63 65 20 76 61 |nd y ins|tance va|
|00002ba0| 72 69 61 62 6c 65 73 2c | 77 68 69 63 68 20 64 65 |riables,|which de|
|00002bb0| 74 65 72 6d 69 6e 65 20 | 74 68 65 20 76 61 6c 75 |termine |the valu|
|00002bc0| 65 20 6f 66 20 69 74 73 | 20 78 20 61 6e 64 20 79 |e of its| x and y|
|00002bd0| 20 70 6f 73 69 74 69 6f | 6e 73 2e 20 54 68 65 20 | positio|ns. The |
|00002be0| 6f 72 69 67 69 6e 20 69 | 73 20 74 68 65 20 74 6f |origin i|s the to|
|00002bf0| 70 20 6c 65 66 74 20 63 | 6f 72 6e 65 72 20 6f 66 |p left c|orner of|
|00002c00| 20 74 68 65 20 77 69 6e | 64 6f 77 2e 20 42 79 20 | the win|dow. By |
|00002c10| 64 65 66 61 75 6c 74 2c | 20 74 68 65 20 78 20 61 |default,| the x a|
|00002c20| 6e 64 20 79 20 76 61 6c | 75 65 73 20 6f 66 20 61 |nd y val|ues of a|
|00002c30| 20 73 68 61 70 65 20 61 | 72 65 20 62 6f 74 68 20 | shape a|re both |
|00002c40| 30 2e 20 28 44 6f 6e 27 | 74 20 63 6f 6e 66 75 73 |0. (Don'|t confus|
|00002c50| 65 20 74 68 65 20 78 20 | 61 6e 64 20 79 20 76 61 |e the x |and y va|
|00002c60| 6c 75 65 73 20 6f 66 20 | 61 20 73 68 61 70 65 20 |lues of |a shape |
|00002c70| 77 69 74 68 20 74 68 65 | 20 78 31 20 61 6e 64 20 |with the| x1 and |
|00002c80| 79 31 20 76 61 6c 75 65 | 73 20 6f 66 20 74 68 65 |y1 value|s of the|
|00002c90| 20 73 74 65 6e 63 69 6c | 20 75 73 65 64 20 61 73 | stencil| used as|
|00002ca0| 20 74 68 65 20 73 68 61 | 70 65 27 73 20 62 6f 75 | the sha|pe's bou|
|00002cb0| 6e 64 61 72 79 2e 29 20 | 0d 54 68 65 20 66 6f 6c |ndary.) |.The fol|
|00002cc0| 6c 6f 77 69 6e 67 20 63 | 6f 64 65 20 73 68 6f 77 |lowing c|ode show|
|00002cd0| 73 20 68 6f 77 20 74 6f | 20 6d 6f 76 65 20 74 68 |s how to| move th|
|00002ce0| 65 20 62 6c 61 63 6b 53 | 71 75 61 72 65 20 74 6f |e blackS|quare to|
|00002cf0| 20 61 20 70 6f 73 69 74 | 69 6f 6e 20 35 30 20 70 | a posit|ion 50 p|
|00002d00| 69 78 65 6c 73 20 74 6f | 20 74 68 65 20 72 69 67 |ixels to| the rig|
|00002d10| 68 74 20 61 6e 64 20 35 | 30 20 70 69 78 65 6c 73 |ht and 5|0 pixels|
|00002d20| 20 64 6f 77 6e 20 66 72 | 6f 6d 20 74 68 65 20 74 | down fr|om the t|
|00002d30| 6f 70 20 6c 65 66 74 20 | 63 6f 72 6e 65 72 20 6f |op left |corner o|
|00002d40| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 2e 20 0d 62 |f the wi|ndow. .b|
|00002d50| 6c 61 63 6b 53 71 75 61 | 72 65 2e 78 20 3a 3d 20 |lackSqua|re.x := |
|00002d60| 35 30 20 0d 62 6c 61 63 | 6b 53 71 75 61 72 65 2e |50 .blac|kSquare.|
|00002d70| 79 20 3a 3d 20 35 30 0d | 53 70 65 63 69 66 79 69 |y := 50.|Specifyi|
|00002d80| 6e 67 20 61 20 43 6f 6c | 6f 72 20 74 6f 20 46 69 |ng a Col|or to Fi|
|00002d90| 6c 6c 20 61 20 53 68 61 | 70 65 0d 53 63 72 69 70 |ll a Sha|pe.Scrip|
|00002da0| 74 58 20 75 73 65 73 20 | 42 72 75 73 68 20 6f 62 |tX uses |Brush ob|
|00002db0| 6a 65 63 74 73 20 74 6f | 20 64 65 66 69 6e 65 20 |jects to| define |
|00002dc0| 74 68 65 20 63 6f 6c 6f | 72 20 61 6e 64 20 70 61 |the colo|r and pa|
|00002dd0| 74 74 65 72 6e 20 74 6f | 20 66 69 6c 6c 20 69 6e |ttern to| fill in|
|00002de0| 20 74 68 65 20 72 65 67 | 69 6f 6e 20 6f 72 20 6f | the reg|ion or o|
|00002df0| 75 74 6c 69 6e 65 20 6f | 66 20 61 20 73 68 61 70 |utline o|f a shap|
|00002e00| 65 2e 20 53 63 72 69 70 | 74 58 20 70 72 6f 76 69 |e. Scrip|tX provi|
|00002e10| 64 65 73 20 74 77 6f 20 | 70 72 65 64 65 66 69 6e |des two |predefin|
|00002e20| 65 64 20 62 72 75 73 68 | 65 73 2e 20 54 68 65 73 |ed brush|es. Thes|
|00002e30| 65 20 61 72 65 20 62 6c | 61 63 6b 42 72 75 73 68 |e are bl|ackBrush|
|00002e40| 20 61 6e 64 20 77 68 69 | 74 65 42 72 75 73 68 2c | and whi|teBrush,|
|00002e50| 20 77 68 69 63 68 20 79 | 6f 75 20 63 61 6e 20 75 | which y|ou can u|
|00002e60| 73 65 20 74 6f 20 70 61 | 69 6e 74 20 28 6f 72 20 |se to pa|int (or |
|00002e70| 66 69 6c 6c 29 20 69 6e | 20 73 6f 6c 69 64 20 62 |fill) in| solid b|
|00002e80| 6c 61 63 6b 20 61 6e 64 | 20 77 68 69 74 65 20 72 |lack and| white r|
|00002e90| 65 73 70 65 63 74 69 76 | 65 6c 79 2e 20 49 66 20 |espectiv|ely. If |
|00002ea0| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 66 69 6c 6c |you want| to fill|
|00002eb0| 20 79 6f 75 72 20 73 68 | 61 70 65 20 6f 72 20 64 | your sh|ape or d|
|00002ec0| 69 73 70 6c 61 79 20 69 | 74 73 20 6f 75 74 6c 69 |isplay i|ts outli|
|00002ed0| 6e 65 20 69 6e 20 61 6e | 79 20 63 6f 6c 6f 72 20 |ne in an|y color |
|00002ee0| 6f 74 68 65 72 20 74 68 | 61 6e 20 62 6c 61 63 6b |other th|an black|
|00002ef0| 20 6f 72 20 77 68 69 74 | 65 2c 20 79 6f 75 20 6d | or whit|e, you m|
|00002f00| 75 73 74 20 63 72 65 61 | 74 65 20 61 20 6e 65 77 |ust crea|te a new|
|00002f10| 20 62 72 75 73 68 2e 0d | 42 79 20 64 65 66 61 75 | brush..|By defau|
|00002f20| 6c 74 2c 20 77 68 65 6e | 20 79 6f 75 20 63 72 65 |lt, when| you cre|
|00002f30| 61 74 65 20 61 20 6e 65 | 77 20 62 72 75 73 68 2c |ate a ne|w brush,|
|00002f40| 20 69 74 73 20 70 61 74 | 74 65 72 6e 20 69 73 20 | its pat|tern is |
|00002f50| 62 6c 61 63 6b 50 61 74 | 74 65 72 6e 2c 20 77 68 |blackPat|tern, wh|
|00002f60| 69 63 68 20 6d 65 61 6e | 73 20 69 74 20 70 61 69 |ich mean|s it pai|
|00002f70| 6e 74 73 20 69 6e 20 73 | 6f 6c 69 64 20 63 6f 6c |nts in s|olid col|
|00002f80| 6f 72 2e 20 57 68 65 6e | 20 79 6f 75 20 63 72 65 |or. When| you cre|
|00002f90| 61 74 65 20 61 20 6e 65 | 77 20 62 72 75 73 68 2c |ate a ne|w brush,|
|00002fa0| 20 69 66 20 79 6f 75 20 | 64 6f 20 6e 6f 74 20 73 | if you |do not s|
|00002fb0| 70 65 63 69 66 79 20 61 | 20 63 6f 6c 6f 72 20 66 |pecify a| color f|
|00002fc0| 6f 72 20 69 74 2c 20 74 | 68 65 20 63 6f 6c 6f 72 |or it, t|he color|
|00002fd0| 20 64 65 66 61 75 6c 74 | 73 20 74 6f 20 77 68 69 | default|s to whi|
|00002fe0| 74 65 43 6f 6c 6f 72 2e | 20 0d 53 63 72 69 70 74 |teColor.| .Script|
|00002ff0| 58 20 70 72 6f 76 69 64 | 65 73 20 74 68 65 20 66 |X provid|es the f|
|00003000| 6f 6c 6c 6f 77 69 6e 67 | 20 67 6c 6f 62 61 6c 20 |ollowing| global |
|00003010| 76 61 72 69 61 62 6c 65 | 73 20 66 6f 72 20 70 72 |variable|s for pr|
|00003020| 65 64 65 66 69 6e 65 64 | 20 63 6f 6c 6f 72 73 3a |edefined| colors:|
|00003030| 20 77 68 69 74 65 43 6f | 6c 6f 72 2c 20 62 6c 61 | whiteCo|lor, bla|
|00003040| 63 6b 43 6f 6c 6f 72 2c | 20 72 65 64 43 6f 6c 6f |ckColor,| redColo|
|00003050| 72 2c 20 67 72 65 65 6e | 43 6f 6c 6f 72 2c 20 62 |r, green|Color, b|
|00003060| 6c 75 65 43 6f 6c 6f 72 | 2c 20 63 79 61 6e 43 6f |lueColor|, cyanCo|
|00003070| 6c 6f 72 2c 20 6d 61 67 | 65 6e 74 61 43 6f 6c 6f |lor, mag|entaColo|
|00003080| 72 2c 20 61 6e 64 20 79 | 65 6c 6c 6f 77 43 6f 6c |r, and y|ellowCol|
|00003090| 6f 72 2e 0d 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |or..The |followin|
|000030a0| 67 20 63 6f 64 65 20 73 | 68 6f 77 73 20 68 6f 77 |g code s|hows how|
|000030b0| 20 74 6f 20 63 72 65 61 | 74 65 20 61 20 6e 65 77 | to crea|te a new|
|000030c0| 20 62 72 75 73 68 20 74 | 68 61 74 20 70 61 69 6e | brush t|hat pain|
|000030d0| 74 73 20 69 6e 20 73 6f | 6c 69 64 20 62 6c 75 65 |ts in so|lid blue|
|000030e0| 2e 0d 67 6c 6f 62 61 6c | 20 62 6c 75 65 42 72 75 |..global| blueBru|
|000030f0| 73 68 3a 3d 20 6e 65 77 | 20 42 72 75 73 68 20 63 |sh:= new| Brush c|
|00003100| 6f 6c 6f 72 3a 62 6c 75 | 65 43 6f 6c 6f 72 0d 54 |olor:blu|eColor.T|
|00003110| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 63 6f 64 |he follo|wing cod|
|00003120| 65 20 73 68 6f 77 73 20 | 68 6f 77 20 74 6f 20 63 |e shows |how to c|
|00003130| 72 65 61 74 65 20 61 20 | 70 72 65 73 65 6e 74 65 |reate a |presente|
|00003140| 72 20 74 6f 20 64 69 73 | 70 6c 61 79 20 61 20 63 |r to dis|play a c|
|00003150| 69 72 63 6c 65 20 66 69 | 6c 6c 65 64 20 69 6e 20 |ircle fi|lled in |
|00003160| 73 6f 6c 69 64 20 62 6c | 75 65 3a 0d 67 6c 6f 62 |solid bl|ue:.glob|
|00003170| 61 6c 20 62 6c 75 65 43 | 69 72 63 6c 65 20 3a 3d |al blueC|ircle :=|
|00003180| 20 6e 65 77 20 54 77 6f | 44 53 68 61 70 65 20 5c | new Two|DShape \|
|00003190| 0d 09 62 6f 75 6e 64 61 | 72 79 3a 28 6e 65 77 20 |..bounda|ry:(new |
|000031a0| 4f 76 61 6c 20 78 32 3a | 32 30 30 20 79 32 3a 32 |Oval x2:|200 y2:2|
|000031b0| 30 30 29 20 5c 0d 09 66 | 69 6c 6c 3a 62 6c 75 65 |00) \..f|ill:blue|
|000031c0| 42 72 75 73 68 20 0d 53 | 70 65 63 69 66 79 69 6e |Brush .S|pecifyin|
|000031d0| 67 20 41 6e 20 4f 75 74 | 6c 69 6e 65 20 43 6f 6c |g An Out|line Col|
|000031e0| 6f 72 0d 54 6f 20 73 70 | 65 63 69 66 79 20 61 20 |or.To sp|ecify a |
|000031f0| 63 6f 6c 6f 72 20 28 61 | 6e 64 2f 6f 72 20 70 61 |color (a|nd/or pa|
|00003200| 74 74 65 72 6e 29 20 74 | 6f 20 75 73 65 20 66 6f |ttern) t|o use fo|
|00003210| 72 20 74 68 65 20 6f 75 | 74 6c 69 6e 65 20 6f 66 |r the ou|tline of|
|00003220| 20 61 20 73 68 61 70 65 | 2c 20 70 75 74 20 61 20 | a shape|, put a |
|00003230| 42 72 75 73 68 20 6f 62 | 6a 65 63 74 20 69 6e 20 |Brush ob|ject in |
|00003240| 74 68 65 20 73 74 72 6f | 6b 65 20 69 6e 73 74 61 |the stro|ke insta|
|00003250| 6e 63 65 20 76 61 72 69 | 61 62 6c 65 20 6f 66 20 |nce vari|able of |
|00003260| 74 68 65 20 70 72 65 73 | 65 6e 74 65 72 2e 20 59 |the pres|enter. Y|
|00003270| 6f 75 20 63 61 6e 20 64 | 6f 20 74 68 69 73 20 62 |ou can d|o this b|
|00003280| 79 20 73 70 65 63 69 66 | 79 69 6e 67 20 61 20 73 |y specif|ying a s|
|00003290| 74 72 6f 6b 65 20 6b 65 | 79 77 6f 72 64 20 61 72 |troke ke|yword ar|
|000032a0| 67 75 6d 65 6e 74 20 77 | 68 65 6e 20 63 72 65 61 |gument w|hen crea|
|000032b0| 74 69 6e 67 20 74 68 65 | 20 70 72 65 73 65 6e 74 |ting the| present|
|000032c0| 65 72 2c 20 6f 72 20 62 | 79 20 70 75 74 74 69 6e |er, or b|y puttin|
|000032d0| 67 20 74 68 65 20 76 61 | 6c 75 65 20 64 69 72 65 |g the va|lue dire|
|000032e0| 63 74 6c 79 20 69 6e 20 | 74 68 65 20 73 74 72 6f |ctly in |the stro|
|000032f0| 6b 65 20 69 6e 73 74 61 | 6e 63 65 20 76 61 72 69 |ke insta|nce vari|
|00003300| 61 62 6c 65 2e 0d 54 68 | 65 20 66 6f 6c 6c 6f 77 |able..Th|e follow|
|00003310| 69 6e 67 20 63 6f 64 65 | 20 63 72 65 61 74 65 73 |ing code| creates|
|00003320| 20 61 6e 20 6f 76 61 6c | 20 74 68 61 74 20 69 73 | an oval| that is|
|00003330| 20 66 69 6c 6c 65 64 20 | 69 6e 20 72 65 64 20 61 | filled |in red a|
|00003340| 6e 64 20 68 61 73 20 61 | 20 79 65 6c 6c 6f 77 20 |nd has a| yellow |
|00003350| 6f 75 74 6c 69 6e 65 2e | 0d 67 6c 6f 62 61 6c 20 |outline.|.global |
|00003360| 6f 76 61 6c 53 74 65 6e | 63 69 6c 20 3a 3d 20 6e |ovalSten|cil := n|
|00003370| 65 77 20 4f 76 61 6c 20 | 78 32 3a 31 30 30 20 79 |ew Oval |x2:100 y|
|00003380| 32 3a 31 35 30 20 0d 67 | 6c 6f 62 61 6c 20 72 65 |2:150 .g|lobal re|
|00003390| 64 4f 76 61 6c 20 3a 3d | 20 6e 65 77 20 54 77 6f |dOval :=| new Two|
|000033a0| 44 53 68 61 70 65 20 5c | 0d 09 62 6f 75 6e 64 61 |DShape \|..bounda|
|000033b0| 72 79 3a 6f 76 61 6c 53 | 74 65 6e 63 69 6c 20 5c |ry:ovalS|tencil \|
|000033c0| 0d 09 66 69 6c 6c 3a 28 | 6e 65 77 20 42 72 75 73 |..fill:(|new Brus|
|000033d0| 68 20 63 6f 6c 6f 72 3a | 72 65 64 43 6f 6c 6f 72 |h color:|redColor|
|000033e0| 29 20 5c 0d 09 73 74 72 | 6f 6b 65 3a 28 6e 65 77 |) \..str|oke:(new|
|000033f0| 20 42 72 75 73 68 20 63 | 6f 6c 6f 72 3a 79 65 6c | Brush c|olor:yel|
|00003400| 6c 6f 77 43 6f 6c 6f 72 | 29 0d 59 6f 75 20 63 61 |lowColor|).You ca|
|00003410| 6e 20 73 70 65 63 69 66 | 79 20 74 68 65 20 77 69 |n specif|y the wi|
|00003420| 64 74 68 20 6f 66 20 74 | 68 65 20 6f 75 74 6c 69 |dth of t|he outli|
|00003430| 6e 65 20 62 79 20 70 75 | 74 74 69 6e 67 20 61 20 |ne by pu|tting a |
|00003440| 76 61 6c 75 65 20 69 6e | 20 74 68 65 20 6c 69 6e |value in| the lin|
|00003450| 65 77 69 64 74 68 20 69 | 6e 73 74 61 6e 63 65 20 |ewidth i|nstance |
|00003460| 76 61 72 69 61 62 6c 65 | 20 6f 66 20 74 68 65 20 |variable| of the |
|00003470| 42 72 75 73 68 20 6f 62 | 6a 65 63 74 20 74 68 61 |Brush ob|ject tha|
|00003480| 74 20 69 73 20 75 73 65 | 64 20 74 6f 20 73 74 72 |t is use|d to str|
|00003490| 6f 6b 65 20 74 68 65 20 | 70 72 65 73 65 6e 74 65 |oke the |presente|
|000034a0| 72 2e 20 54 68 65 20 6c | 69 6e 65 57 69 64 74 68 |r. The l|ineWidth|
|000034b0| 20 76 61 72 69 61 62 6c | 65 20 69 73 20 69 67 6e | variabl|e is ign|
|000034c0| 6f 72 65 64 20 77 68 65 | 6e 20 74 68 65 20 62 72 |ored whe|n the br|
|000034d0| 75 73 68 20 69 73 20 75 | 73 65 64 20 74 6f 20 66 |ush is u|sed to f|
|000034e0| 69 6c 6c 20 74 68 65 20 | 73 68 61 70 65 2e 20 54 |ill the |shape. T|
|000034f0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 63 6f 64 |he follo|wing cod|
|00003500| 65 20 73 65 74 73 20 74 | 68 65 20 77 69 64 74 68 |e sets t|he width|
|00003510| 20 6f 66 20 74 68 65 20 | 6f 75 74 6c 69 6e 65 20 | of the |outline |
|00003520| 6f 66 20 74 68 65 20 72 | 65 64 20 6f 76 61 6c 20 |of the r|ed oval |
|00003530| 74 6f 20 35 20 70 69 78 | 65 6c 73 2e 20 0d 72 65 |to 5 pix|els. .re|
|00003540| 64 4f 76 61 6c 2e 73 74 | 72 6f 6b 65 2e 6c 69 6e |dOval.st|roke.lin|
|00003550| 65 57 69 64 74 68 20 3a | 3d 20 35 20 0d 44 65 66 |eWidth :|= 5 .Def|
|00003560| 69 6e 69 6e 67 20 59 6f | 75 72 20 4f 77 6e 20 43 |ining Yo|ur Own C|
|00003570| 6f 6c 6f 72 20 0d 49 66 | 20 79 6f 75 20 77 61 6e |olor .If| you wan|
|00003580| 74 20 74 6f 20 75 73 65 | 20 61 6e 20 61 72 62 69 |t to use| an arbi|
|00003590| 74 72 61 79 20 63 6f 6c | 6f 72 20 28 69 6e 73 74 |tray col|or (inst|
|000035a0| 65 61 64 20 6f 66 20 6f | 6e 65 20 6f 66 20 74 68 |ead of o|ne of th|
|000035b0| 65 20 70 72 65 64 65 66 | 69 6e 65 64 20 63 6f 6c |e predef|ined col|
|000035c0| 6f 72 73 20 73 75 63 68 | 20 61 73 20 62 6c 75 65 |ors such| as blue|
|000035d0| 43 6f 6c 6f 72 2c 20 72 | 65 64 43 6f 6c 6f 72 20 |Color, r|edColor |
|000035e0| 61 6e 64 20 73 6f 20 6f | 6e 29 2c 20 79 6f 75 20 |and so o|n), you |
|000035f0| 6d 75 73 74 20 63 72 65 | 61 74 65 20 61 6e 20 52 |must cre|ate an R|
|00003600| 47 42 43 6f 6c 6f 72 20 | 6f 62 6a 65 63 74 2c 20 |GBColor |object, |
|00003610| 61 6e 64 20 73 70 65 63 | 69 66 79 20 76 61 6c 75 |and spec|ify valu|
|00003620| 65 73 20 66 6f 72 20 69 | 74 73 20 72 65 64 2c 20 |es for i|ts red, |
|00003630| 67 72 65 65 6e 2c 20 61 | 6e 64 20 62 6c 75 65 20 |green, a|nd blue |
|00003640| 69 6e 73 74 61 6e 63 65 | 20 76 61 72 69 61 62 6c |instance| variabl|
|00003650| 65 73 2e 20 59 6f 75 20 | 63 61 6e 20 73 70 65 63 |es. You |can spec|
|00003660| 69 66 79 20 74 68 65 20 | 72 65 64 2c 20 67 72 65 |ify the |red, gre|
|00003670| 65 6e 2c 20 61 6e 64 20 | 62 6c 75 65 20 76 61 6c |en, and |blue val|
|00003680| 75 65 73 20 65 69 74 68 | 65 72 20 61 73 20 6e 75 |ues eith|er as nu|
|00003690| 6d 62 65 72 73 20 62 65 | 74 77 65 65 6e 20 30 20 |mbers be|tween 0 |
|000036a0| 61 6e 64 20 32 35 35 2c | 20 77 68 65 72 65 20 30 |and 255,| where 0|
|000036b0| 20 69 73 20 6e 6f 6e 65 | 20 28 77 68 69 74 65 29 | is none| (white)|
|000036c0| 2c 20 61 6e 64 20 32 35 | 35 20 69 73 20 61 6c 6c |, and 25|5 is all|
|000036d0| 20 28 62 6c 61 63 6b 29 | 2c 20 6f 72 20 61 73 20 | (black)|, or as |
|000036e0| 66 6c 6f 61 74 69 6e 67 | 2d 70 6f 69 6e 74 20 6e |floating|-point n|
|000036f0| 75 6d 62 65 72 73 20 62 | 65 74 77 65 65 6e 20 30 |umbers b|etween 0|
|00003700| 2e 30 20 61 6e 64 20 31 | 2e 30 2e 0d 54 68 65 20 |.0 and 1|.0..The |
|00003710| 66 6f 6c 6c 6f 77 69 6e | 67 20 63 6f 64 65 20 73 |followin|g code s|
|00003720| 68 6f 77 73 20 68 6f 77 | 20 74 6f 20 63 72 65 61 |hows how| to crea|
|00003730| 74 65 20 61 20 6e 65 77 | 20 62 72 75 73 68 20 74 |te a new| brush t|
|00003740| 68 61 74 20 70 61 69 6e | 74 73 20 69 6e 20 61 20 |hat pain|ts in a |
|00003750| 73 68 61 64 65 20 6f 66 | 20 70 75 72 70 6c 65 2e |shade of| purple.|
|00003760| 0d 67 6c 6f 62 61 6c 20 | 70 75 72 70 6c 65 42 72 |.global |purpleBr|
|00003770| 75 73 68 20 3a 3d 20 6e | 65 77 20 42 72 75 73 68 |ush := n|ew Brush|
|00003780| 20 5c 0d 09 63 6f 6c 6f | 72 3a 28 6e 65 77 20 52 | \..colo|r:(new R|
|00003790| 47 42 43 6f 6c 6f 72 20 | 72 65 64 3a 31 35 30 20 |GBColor |red:150 |
|000037a0| 67 72 65 65 6e 3a 31 33 | 20 62 6c 75 65 3a 32 34 |green:13| blue:24|
|000037b0| 30 29 0d 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |0).The f|ollowing|
|000037c0| 20 63 6f 64 65 20 73 68 | 6f 77 73 20 68 6f 77 20 | code sh|ows how |
|000037d0| 74 6f 20 63 72 65 61 74 | 65 20 61 20 70 75 72 70 |to creat|e a purp|
|000037e0| 6c 65 20 72 65 63 74 61 | 6e 67 6c 65 2e 0d 67 6c |le recta|ngle..gl|
|000037f0| 6f 62 61 6c 20 70 75 72 | 70 6c 65 52 65 63 74 20 |obal pur|pleRect |
|00003800| 3a 3d 20 6e 65 77 20 54 | 77 6f 44 53 68 61 70 65 |:= new T|woDShape|
|00003810| 20 5c 0d 09 62 6f 75 6e | 64 61 72 79 3a 28 6e 65 | \..boun|dary:(ne|
|00003820| 77 20 52 65 63 74 20 78 | 32 3a 31 30 30 20 79 32 |w Rect x|2:100 y2|
|00003830| 3a 34 30 29 20 5c 0d 09 | 66 69 6c 6c 3a 70 75 72 |:40) \..|fill:pur|
|00003840| 70 6c 65 42 72 75 73 68 | 0d 53 65 6c 65 63 74 69 |pleBrush|.Selecti|
|00003850| 6e 67 20 43 6f 6c 6f 72 | 20 56 61 6c 75 65 73 0d |ng Color| Values.|
|00003860| 54 6f 20 66 69 6e 64 20 | 74 68 65 20 63 6f 6c 6f |To find |the colo|
|00003870| 72 20 74 68 61 74 20 79 | 6f 75 20 6e 65 65 64 2c |r that y|ou need,|
|00003880| 20 79 6f 75 20 63 61 6e | 20 67 75 65 73 73 20 74 | you can| guess t|
|00003890| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 6e |he appro|priate n|
|000038a0| 75 6d 62 65 72 73 20 61 | 6e 64 20 74 65 73 74 20 |umbers a|nd test |
|000038b0| 74 68 65 20 72 65 73 75 | 6c 74 73 20 75 6e 74 69 |the resu|lts unti|
|000038c0| 6c 20 79 6f 75 20 66 69 | 6e 64 20 74 68 65 20 63 |l you fi|nd the c|
|000038d0| 6f 6c 6f 72 20 79 6f 75 | 20 77 61 6e 74 2e 20 59 |olor you| want. Y|
|000038e0| 6f 75 20 6d 61 79 20 66 | 69 6e 64 20 69 74 20 65 |ou may f|ind it e|
|000038f0| 61 73 69 65 72 2c 20 68 | 6f 77 65 76 65 72 2c 20 |asier, h|owever, |
|00003900| 74 6f 20 75 73 65 20 61 | 20 73 74 61 6e 64 61 72 |to use a| standar|
|00003910| 64 20 63 6f 6c 6f 72 20 | 70 69 63 6b 65 72 20 74 |d color |picker t|
|00003920| 68 61 74 20 69 73 20 73 | 75 70 70 6c 69 65 64 20 |hat is s|upplied |
|00003930| 77 69 74 68 20 79 6f 75 | 72 20 6f 70 65 72 61 74 |with you|r operat|
|00003940| 69 6e 67 20 73 79 73 74 | 65 6d 2c 20 6f 72 20 77 |ing syst|em, or w|
|00003950| 69 74 68 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ith appl|ications|
|00003960| 20 28 73 75 63 68 20 61 | 73 20 41 64 6f 62 65 20 | (such a|s Adobe |
|00003970| 50 68 6f 74 6f 73 68 6f | 70 e2 84 a2 29 2e 20 0d |Photosho|p...). .|
|00003980| 28 4e 6f 74 65 20 66 6f | 72 20 4d 61 63 69 6e 74 |(Note fo|r Macint|
|00003990| 6f 73 68 20 55 73 65 72 | 73 20 e2 80 93 20 54 68 |osh User|s ... Th|
|000039a0| 65 20 4d 61 63 69 6e 74 | 6f 73 68 27 73 20 63 6f |e Macint|osh's co|
|000039b0| 6c 6f 72 20 63 6f 6e 74 | 72 6f 6c 20 70 61 6e 65 |lor cont|rol pane|
|000039c0| 6c 20 75 73 65 73 20 69 | 6e 74 65 67 65 72 20 76 |l uses i|nteger v|
|000039d0| 61 6c 75 65 73 20 66 72 | 6f 6d 20 30 20 74 6f 20 |alues fr|om 0 to |
|000039e0| 36 35 35 33 35 2c 20 77 | 68 69 63 68 20 79 6f 75 |65535, w|hich you|
|000039f0| 20 63 61 6e 6e 6f 74 20 | 75 73 65 20 61 73 20 69 | cannot |use as i|
|00003a00| 6e 70 75 74 20 76 61 6c | 75 65 73 20 74 6f 20 74 |nput val|ues to t|
|00003a10| 68 65 20 63 6f 6c 6f 72 | 20 63 6c 61 73 73 65 73 |he color| classes|
|00003a20| 2e 20 43 6f 6e 76 65 72 | 74 20 74 68 6f 73 65 20 |. Conver|t those |
|00003a30| 76 61 6c 75 65 73 20 74 | 6f 20 66 6c 6f 61 74 69 |values t|o floati|
|00003a40| 6e 67 2d 70 6f 69 6e 74 | 20 76 61 6c 75 65 73 20 |ng-point| values |
|00003a50| 62 65 74 77 65 65 6e 20 | 31 20 61 6e 64 20 30 2c |between |1 and 0,|
|00003a60| 20 62 79 20 64 69 76 69 | 64 69 6e 67 20 65 61 63 | by divi|ding eac|
|00003a70| 68 20 6f 66 20 74 68 65 | 20 72 65 64 2c 20 67 72 |h of the| red, gr|
|00003a80| 65 65 6e 2c 20 61 6e 64 | 20 62 6c 75 65 20 76 61 |een, and| blue va|
|00003a90| 6c 75 65 73 20 62 79 20 | 36 35 35 33 35 2e 29 0d |lues by |65535.).|
|00003aa0| 55 70 64 61 74 69 6e 67 | 20 49 6e 64 69 72 65 63 |Updating| Indirec|
|00003ab0| 74 20 43 68 61 6e 67 65 | 73 20 74 6f 20 61 20 50 |t Change|s to a P|
|00003ac0| 72 65 73 65 6e 74 65 72 | 0d 57 68 65 6e 20 79 6f |resenter|.When yo|
|00003ad0| 75 20 6d 61 6b 65 20 61 | 20 63 68 61 6e 67 65 20 |u make a| change |
|00003ae0| 74 6f 20 61 20 54 77 6f | 44 53 68 61 70 65 2c 20 |to a Two|DShape, |
|00003af0| 73 75 63 68 20 61 73 20 | 63 68 61 6e 67 69 6e 67 |such as |changing|
|00003b00| 20 69 74 73 20 70 6f 73 | 69 74 69 6f 6e 20 6f 72 | its pos|ition or|
|00003b10| 20 69 74 73 20 66 69 6c | 6c 2c 20 74 68 65 20 63 | its fil|l, the c|
|00003b20| 68 61 6e 67 65 20 69 73 | 20 61 75 74 6f 6d 61 74 |hange is| automat|
|00003b30| 69 63 61 6c 6c 79 20 72 | 65 66 6c 65 63 74 65 64 |ically r|eflected|
|00003b40| 20 6f 6e 20 74 68 65 20 | 73 63 72 65 65 6e 2e 20 | on the |screen. |
|00003b50| 48 6f 77 65 76 65 72 2c | 20 69 66 20 79 6f 75 20 |However,| if you |
|00003b60| 6d 61 6b 65 20 61 20 63 | 68 61 6e 67 65 20 74 6f |make a c|hange to|
|00003b70| 20 61 6e 20 6f 62 6a 65 | 63 74 20 72 65 66 65 72 | an obje|ct refer|
|00003b80| 65 6e 63 65 64 20 62 79 | 20 61 20 32 44 20 73 68 |enced by| a 2D sh|
|00003b90| 61 70 65 2c 20 72 61 74 | 68 65 72 20 74 68 61 6e |ape, rat|her than|
|00003ba0| 20 62 79 20 63 68 61 6e | 67 69 6e 67 20 74 68 65 | by chan|ging the|
|00003bb0| 20 32 44 20 73 68 61 70 | 65 20 64 69 72 65 63 74 | 2D shap|e direct|
|00003bc0| 6c 79 2c 20 74 68 65 20 | 63 68 61 6e 67 65 20 69 |ly, the |change i|
|00003bd0| 73 20 6e 6f 74 20 61 75 | 74 6f 6d 61 74 69 63 61 |s not au|tomatica|
|00003be0| 6c 6c 79 20 72 65 66 6c | 65 63 74 65 64 20 6f 6e |lly refl|ected on|
|00003bf0| 20 74 68 65 20 73 63 72 | 65 65 6e 2e 20 46 6f 72 | the scr|een. For|
|00003c00| 20 65 78 61 6d 70 6c 65 | 2c 20 69 66 20 79 6f 75 | example|, if you|
|00003c10| 20 63 68 61 6e 67 65 20 | 74 68 65 20 63 6f 6c 6f | change |the colo|
|00003c20| 72 20 6f 72 20 6c 69 6e | 65 20 77 69 64 74 68 20 |r or lin|e width |
|00003c30| 6f 66 20 61 20 42 72 75 | 73 68 20 6f 62 6a 65 63 |of a Bru|sh objec|
|00003c40| 74 20 74 68 61 74 20 61 | 20 32 44 20 73 68 61 70 |t that a| 2D shap|
|00003c50| 65 20 75 73 65 73 20 61 | 73 20 69 74 73 20 66 69 |e uses a|s its fi|
|00003c60| 6c 6c 20 6f 72 20 73 74 | 72 6f 6b 65 20 76 61 6c |ll or st|roke val|
|00003c70| 75 65 2c 20 74 68 65 20 | 73 63 72 65 65 6e 20 64 |ue, the |screen d|
|00003c80| 6f 65 73 20 6e 6f 74 20 | 75 70 64 61 74 65 20 74 |oes not |update t|
|00003c90| 6f 20 73 68 6f 77 20 74 | 68 65 20 63 68 61 6e 67 |o show t|he chang|
|00003ca0| 65 2e 20 0d 57 68 65 6e | 20 79 6f 75 20 6d 61 6b |e. .When| you mak|
|00003cb0| 65 20 61 20 63 68 61 6e | 67 65 20 64 69 72 65 63 |e a chan|ge direc|
|00003cc0| 74 6c 79 20 74 6f 20 61 | 20 32 44 20 73 68 61 70 |tly to a| 2D shap|
|00003cd0| 65 2c 20 79 6f 75 20 6e | 65 65 64 20 74 6f 20 74 |e, you n|eed to t|
|00003ce0| 65 6c 6c 20 74 68 65 20 | 53 63 72 69 70 74 58 20 |ell the |ScriptX |
|00003cf0| 63 6f 6d 70 6f 73 69 74 | 6f 72 20 28 77 68 69 63 |composit|or (whic|
|00003d00| 68 20 69 73 20 72 65 73 | 70 6f 6e 73 69 62 6c 65 |h is res|ponsible|
|00003d10| 20 66 6f 72 20 20 75 70 | 64 61 74 69 6e 67 20 77 | for up|dating w|
|00003d20| 69 6e 64 6f 77 73 29 20 | 74 68 61 74 20 74 68 65 |indows) |that the|
|00003d30| 20 73 68 61 70 65 20 68 | 61 73 20 63 68 61 6e 67 | shape h|as chang|
|00003d40| 65 64 2e 20 59 6f 75 20 | 64 6f 20 74 68 69 73 20 |ed. You |do this |
|00003d50| 62 79 20 63 61 6c 6c 69 | 6e 67 20 74 68 65 20 6e |by calli|ng the n|
|00003d60| 6f 74 69 66 79 43 68 61 | 6e 67 65 64 20 6d 65 74 |otifyCha|nged met|
|00003d70| 68 6f 64 20 6f 6e 20 74 | 68 65 20 73 68 61 70 65 |hod on t|he shape|
|00003d80| 2e 0d 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |..The fo|llowing |
|00003d90| 63 6f 64 65 20 73 68 6f | 77 73 20 68 6f 77 20 74 |code sho|ws how t|
|00003da0| 6f 20 63 68 61 6e 67 65 | 20 74 68 65 20 6c 69 6e |o change| the lin|
|00003db0| 65 20 77 69 64 74 68 20 | 6f 66 20 74 68 65 20 6f |e width |of the o|
|00003dc0| 75 74 6c 69 6e 65 20 6f | 66 20 61 20 73 68 61 70 |utline o|f a shap|
|00003dd0| 65 20 61 6e 64 20 74 6f | 20 75 70 64 61 74 65 20 |e and to| update |
|00003de0| 74 68 65 20 69 6d 61 67 | 65 20 6f 6e 20 74 68 65 |the imag|e on the|
|00003df0| 20 73 63 72 65 65 6e 20 | 69 6d 6d 65 64 69 61 74 | screen |immediat|
|00003e00| 65 6c 79 2e 0d 72 65 64 | 4f 76 61 6c 2e 73 74 72 |ely..red|Oval.str|
|00003e10| 6f 6b 65 2e 6c 69 6e 65 | 57 69 64 74 68 20 3a 3d |oke.line|Width :=|
|00003e20| 20 31 30 20 0d 6e 6f 74 | 69 66 79 43 68 61 6e 67 | 10 .not|ifyChang|
|00003e30| 65 64 20 72 65 64 4f 76 | 61 6c 20 74 72 75 65 0d |ed redOv|al true.|
|00003e40| 55 73 69 6e 67 20 74 68 | 65 20 50 61 74 68 20 43 |Using th|e Path C|
|00003e50| 6c 61 73 73 20 74 6f 20 | 43 72 65 61 74 65 20 4e |lass to |Create N|
|00003e60| 6f 6e 2d 53 74 61 6e 64 | 61 72 64 20 53 68 61 70 |on-Stand|ard Shap|
|00003e70| 65 73 0d 59 6f 75 20 63 | 61 6e 20 75 73 65 20 74 |es.You c|an use t|
|00003e80| 68 65 20 50 61 74 68 20 | 63 6c 61 73 73 20 74 6f |he Path |class to|
|00003e90| 20 63 72 65 61 74 65 20 | 61 20 73 68 61 70 65 20 | create |a shape |
|00003ea0| 74 68 61 74 20 63 6f 6e | 74 61 69 6e 73 20 73 74 |that con|tains st|
|00003eb0| 72 61 69 67 68 74 20 6c | 69 6e 65 73 2c 20 61 72 |raight l|ines, ar|
|00003ec0| 63 73 2c 20 63 75 72 76 | 65 73 2c 20 61 6e 64 20 |cs, curv|es, and |
|00003ed0| 73 70 6c 69 6e 65 73 2c | 20 61 6e 64 20 63 61 6e |splines,| and can|
|00003ee0| 20 68 61 76 65 20 6f 6e | 65 20 6f 72 20 6d 6f 72 | have on|e or mor|
|00003ef0| 65 20 64 69 73 63 6f 6e | 6e 65 63 74 65 64 20 63 |e discon|nected c|
|00003f00| 6f 6e 74 6f 75 72 73 2e | 20 49 6e 20 74 68 69 73 |ontours.| In this|
|00003f10| 20 6c 65 73 73 6f 6e 2c | 20 77 65 20 74 65 61 63 | lesson,| we teac|
|00003f20| 68 20 79 6f 75 20 68 6f | 77 20 74 6f 20 62 75 69 |h you ho|w to bui|
|00003f30| 6c 64 20 61 20 73 69 6d | 70 6c 65 20 74 72 69 61 |ld a sim|ple tria|
|00003f40| 6e 67 75 6c 61 72 20 73 | 74 65 6e 63 69 6c 2e 0d |ngular s|tencil..|
|00003f50| 57 68 65 6e 20 63 72 65 | 61 74 69 6e 67 20 61 20 |When cre|ating a |
|00003f60| 70 61 74 68 2c 20 66 69 | 72 73 74 20 63 61 6c 6c |path, fi|rst call|
|00003f70| 20 74 68 65 20 6e 65 77 | 20 6d 65 74 68 6f 64 20 | the new| method |
|00003f80| 74 6f 20 63 72 65 61 74 | 65 20 74 68 65 20 50 61 |to creat|e the Pa|
|00003f90| 74 68 20 6f 62 6a 65 63 | 74 2c 20 74 68 65 6e 20 |th objec|t, then |
|00003fa0| 63 61 6c 6c 20 61 20 73 | 65 72 69 65 73 20 6f 66 |call a s|eries of|
|00003fb0| 20 6d 65 74 68 6f 64 73 | 20 74 6f 20 63 6f 6e 73 | methods| to cons|
|00003fc0| 74 72 75 63 74 20 74 68 | 65 20 70 61 74 68 2e 20 |truct th|e path. |
|00003fd0| 54 68 65 20 6d 6f 76 65 | 54 6f 20 6d 65 74 68 6f |The move|To metho|
|00003fe0| 64 20 73 70 65 63 69 66 | 69 65 73 20 74 68 65 20 |d specif|ies the |
|00003ff0| 73 74 61 72 74 69 6e 67 | 20 70 6f 69 6e 74 20 6f |starting| point o|
|00004000| 66 20 61 20 70 61 74 68 | 2e 20 54 68 65 20 6c 69 |f a path|. The li|
|00004010| 6e 65 54 6f 20 6d 65 74 | 68 6f 64 20 64 72 61 77 |neTo met|hod draw|
|00004020| 73 20 61 20 6c 69 6e 65 | 20 66 72 6f 6d 20 74 68 |s a line| from th|
|00004030| 65 20 70 72 65 76 69 6f | 75 73 20 70 6f 69 6e 74 |e previo|us point|
|00004040| 20 74 6f 20 61 20 6e 65 | 77 20 70 6f 69 6e 74 2e | to a ne|w point.|
|00004050| 20 4f 74 68 65 72 20 6d | 65 74 68 6f 64 73 20 73 | Other m|ethods s|
|00004060| 75 63 68 20 61 73 20 61 | 72 63 2c 20 61 72 63 54 |uch as a|rc, arcT|
|00004070| 6f 2c 20 61 6e 64 20 63 | 75 72 76 65 54 6f 20 61 |o, and c|urveTo a|
|00004080| 64 64 20 61 72 63 73 20 | 61 6e 64 20 63 75 72 76 |dd arcs |and curv|
|00004090| 65 73 20 74 6f 20 74 68 | 65 20 70 61 74 68 2e 20 |es to th|e path. |
|000040a0| 54 68 65 20 50 61 74 68 | 20 63 6c 61 73 73 20 61 |The Path| class a|
|000040b0| 6c 73 6f 20 68 61 73 20 | 61 20 73 65 74 20 6f 66 |lso has |a set of|
|000040c0| 20 6d 65 74 68 6f 64 73 | 20 74 68 61 74 20 6c 65 | methods| that le|
|000040d0| 74 20 79 6f 75 20 61 64 | 64 20 73 70 6c 69 6e 65 |t you ad|d spline|
|000040e0| 73 20 74 6f 20 74 68 65 | 20 70 61 74 68 2e 0d 42 |s to the| path..B|
|000040f0| 75 69 6c 64 69 6e 67 20 | 61 20 54 72 69 61 6e 67 |uilding |a Triang|
|00004100| 6c 65 20 61 73 20 61 6e | 20 45 78 61 6d 70 6c 65 |le as an| Example|
|00004110| 20 6f 66 20 61 20 50 61 | 74 68 0d 54 68 65 20 66 | of a Pa|th.The f|
|00004120| 6f 6c 6c 6f 77 69 6e 67 | 20 63 6f 64 65 20 62 75 |ollowing| code bu|
|00004130| 69 6c 64 73 20 61 20 73 | 69 6d 70 6c 65 20 74 72 |ilds a s|imple tr|
|00004140| 69 61 6e 67 6c 65 2e 20 | 49 74 20 63 72 65 61 74 |iangle. |It creat|
|00004150| 65 73 20 61 20 6e 65 77 | 20 50 61 74 68 20 6f 62 |es a new| Path ob|
|00004160| 6a 65 63 74 2c 20 75 73 | 65 73 20 74 68 65 20 6d |ject, us|es the m|
|00004170| 6f 76 65 54 6f 20 6d 65 | 74 68 6f 64 20 74 6f 20 |oveTo me|thod to |
|00004180| 73 70 65 63 69 66 79 20 | 74 68 65 20 73 74 61 72 |specify |the star|
|00004190| 74 69 6e 67 20 70 6f 69 | 6e 74 2c 20 61 6e 64 20 |ting poi|nt, and |
|000041a0| 74 68 65 6e 20 75 73 65 | 73 20 74 68 65 20 6c 69 |then use|s the li|
|000041b0| 6e 65 74 6f 20 6d 65 74 | 68 6f 64 20 74 6f 20 64 |neto met|hod to d|
|000041c0| 72 61 77 20 74 77 6f 20 | 6c 69 6e 65 73 20 74 68 |raw two |lines th|
|000041d0| 61 74 20 66 6f 72 6d 20 | 74 77 6f 20 73 69 64 65 |at form |two side|
|000041e0| 73 20 6f 66 20 74 68 65 | 20 74 72 69 61 6e 67 6c |s of the| triangl|
|000041f0| 65 2e 20 46 69 6e 61 6c | 6c 79 2c 20 69 74 20 75 |e. Final|ly, it u|
|00004200| 73 65 73 20 74 68 65 20 | 63 6c 6f 73 65 50 61 74 |ses the |closePat|
|00004210| 68 20 6d 65 74 68 6f 64 | 20 74 6f 20 64 72 61 77 |h method| to draw|
|00004220| 20 61 20 6c 69 6e 65 20 | 66 72 6f 6d 20 74 68 65 | a line |from the|
|00004230| 20 6c 61 73 74 20 70 6f | 69 6e 74 20 74 6f 20 74 | last po|int to t|
|00004240| 68 65 20 73 74 61 72 74 | 69 6e 67 20 70 6f 69 6e |he start|ing poin|
|00004250| 74 2c 20 65 66 66 65 63 | 74 69 76 65 6c 79 20 63 |t, effec|tively c|
|00004260| 6c 6f 73 69 6e 67 20 74 | 68 65 20 73 68 61 70 65 |losing t|he shape|
|00004270| 20 6f 66 20 74 68 65 20 | 73 74 65 6e 63 69 6c 2e | of the |stencil.|
|00004280| 0d 67 6c 6f 62 61 6c 20 | 74 72 69 53 74 65 6e 63 |.global |triStenc|
|00004290| 69 6c 20 3a 3d 20 6e 65 | 77 20 50 61 74 68 0d 6d |il := ne|w Path.m|
|000042a0| 6f 76 65 74 6f 20 74 72 | 69 53 74 65 6e 63 69 6c |oveto tr|iStencil|
|000042b0| 20 31 30 30 20 30 0d 6c | 69 6e 65 74 6f 20 74 72 | 100 0.l|ineto tr|
|000042c0| 69 53 74 65 6e 63 69 6c | 20 32 30 30 20 31 35 30 |iStencil| 200 150|
|000042d0| 0d 6c 69 6e 65 54 6f 20 | 74 72 69 53 74 65 6e 63 |.lineTo |triStenc|
|000042e0| 69 6c 20 30 20 37 35 0d | 63 6c 6f 73 65 70 61 74 |il 0 75.|closepat|
|000042f0| 68 20 74 72 69 53 74 65 | 6e 63 69 6c 0d 4b 65 65 |h triSte|ncil.Kee|
|00004300| 70 20 69 6e 20 6d 69 6e | 64 20 77 68 65 6e 20 79 |p in min|d when y|
|00004310| 6f 75 20 63 72 65 61 74 | 65 20 61 20 70 61 74 68 |ou creat|e a path|
|00004320| 20 74 68 61 74 20 74 68 | 65 20 63 6f 6f 72 64 69 | that th|e coordi|
|00004330| 6e 61 74 65 73 20 6f 66 | 20 74 68 65 20 70 61 74 |nates of| the pat|
|00004340| 68 20 61 72 65 20 6e 6f | 74 20 6e 65 63 65 73 73 |h are no|t necess|
|00004350| 61 72 69 6c 79 20 74 68 | 65 20 73 61 6d 65 20 61 |arily th|e same a|
|00004360| 73 20 74 68 6f 73 65 20 | 6f 66 20 74 68 65 20 73 |s those |of the s|
|00004370| 63 72 65 65 6e 2e 20 52 | 61 74 68 65 72 20 74 68 |creen. R|ather th|
|00004380| 61 6e 20 64 72 61 77 69 | 6e 67 20 74 68 65 20 73 |an drawi|ng the s|
|00004390| 74 65 6e 63 69 6c 20 69 | 6e 20 69 74 73 20 6c 6f |tencil i|n its lo|
|000043a0| 63 61 74 69 6f 6e 20 61 | 73 20 79 6f 75 20 65 78 |cation a|s you ex|
|000043b0| 70 65 63 74 20 69 74 20 | 6f 6e 20 74 68 65 20 73 |pect it |on the s|
|000043c0| 63 72 65 65 6e 2c 20 61 | 73 73 75 6d 65 20 66 6f |creen, a|ssume fo|
|000043d0| 72 20 6e 6f 77 20 74 68 | 61 74 20 74 68 65 20 74 |r now th|at the t|
|000043e0| 6f 70 20 6c 65 66 74 20 | 63 6f 72 6e 65 72 20 6f |op left |corner o|
|000043f0| 66 20 74 68 65 20 73 74 | 65 6e 63 69 6c 20 69 73 |f the st|encil is|
|00004400| 20 61 74 20 28 30 2c 20 | 30 29 2c 20 61 6e 64 20 | at (0, |0), and |
|00004410| 66 6f 63 75 73 20 6f 6e | 20 74 68 65 20 73 68 61 |focus on| the sha|
|00004420| 70 65 20 6f 66 20 74 68 | 65 20 73 74 65 6e 63 69 |pe of th|e stenci|
|00004430| 6c 2e 20 53 6f 2c 20 69 | 6e 20 74 68 69 73 20 65 |l. So, i|n this e|
|00004440| 78 61 6d 70 6c 65 2c 20 | 61 73 73 75 6d 69 6e 67 |xample, |assuming|
|00004450| 20 74 68 65 20 74 6f 70 | 20 63 6f 72 6e 65 72 20 | the top| corner |
|00004460| 69 73 20 61 74 20 28 30 | 2c 20 30 29 2c 20 74 68 |is at (0|, 0), th|
|00004470| 65 20 69 6e 69 74 69 61 | 6c 20 70 6f 69 6e 74 20 |e initia|l point |
|00004480| 28 66 6f 72 20 74 68 65 | 20 74 6f 70 20 70 6f 69 |(for the| top poi|
|00004490| 6e 74 20 6f 66 20 74 68 | 65 20 74 72 69 61 6e 67 |nt of th|e triang|
|000044a0| 6c 65 29 20 69 73 20 61 | 74 20 28 31 30 30 2c 20 |le) is a|t (100, |
|000044b0| 30 29 2e 20 46 69 67 75 | 72 65 20 31 20 73 68 6f |0). Figu|re 1 sho|
|000044c0| 77 73 20 74 68 65 20 74 | 72 69 61 6e 67 6c 65 2e |ws the t|riangle.|
|000044d0| 0d 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 63 |.The fol|lowing c|
|000044e0| 6f 64 65 20 63 72 65 61 | 74 65 73 20 61 20 67 72 |ode crea|tes a gr|
|000044f0| 65 65 6e 20 74 72 69 61 | 6e 67 6c 65 20 77 69 74 |een tria|ngle wit|
|00004500| 68 20 61 20 62 6c 61 63 | 6b 20 6f 75 74 6c 69 6e |h a blac|k outlin|
|00004510| 65 3a 20 2e 20 0d 67 6c | 6f 62 61 6c 20 67 72 65 |e: . .gl|obal gre|
|00004520| 65 6e 54 72 69 61 6e 67 | 6c 65 20 3a 3d 20 6e 65 |enTriang|le := ne|
|00004530| 77 20 54 77 6f 44 53 68 | 61 70 65 20 5c 0d 09 62 |w TwoDSh|ape \..b|
|00004540| 6f 75 6e 64 61 72 79 3a | 74 72 69 53 74 65 6e 63 |oundary:|triStenc|
|00004550| 69 6c 20 5c 0d 09 66 69 | 6c 6c 3a 28 6e 65 77 20 |il \..fi|ll:(new |
|00004560| 42 72 75 73 68 20 63 6f | 6c 6f 72 3a 67 72 65 65 |Brush co|lor:gree|
|00004570| 6e 43 6f 6c 6f 72 29 20 | 5c 0d 09 73 74 72 6f 6b |nColor) |\..strok|
|00004580| 65 3a 62 6c 61 63 6b 42 | 72 75 73 68 0d 54 68 65 |e:blackB|rush.The|
|00004590| 20 53 63 72 69 70 74 0d | 54 68 65 20 73 63 72 69 | Script.|The scri|
|000045a0| 70 74 20 61 73 73 6f 63 | 69 61 74 65 64 20 77 69 |pt assoc|iated wi|
|000045b0| 74 68 20 74 68 69 73 20 | 6c 65 73 73 6f 6e 20 64 |th this |lesson d|
|000045c0| 69 73 70 6c 61 79 73 20 | 66 69 76 65 20 73 68 61 |isplays |five sha|
|000045d0| 70 65 73 2c 20 61 6e 64 | 20 73 68 6f 77 73 20 68 |pes, and| shows h|
|000045e0| 6f 77 20 74 6f 20 64 65 | 66 69 6e 65 20 62 72 75 |ow to de|fine bru|
|000045f0| 73 68 65 73 20 61 6e 64 | 20 63 6f 6c 6f 72 73 2e |shes and| colors.|
|00004600| 20 54 68 65 20 73 68 61 | 70 65 73 20 69 6e 63 6c | The sha|pes incl|
|00004610| 75 64 65 20 72 65 63 74 | 61 6e 67 6c 65 73 2c 20 |ude rect|angles, |
|00004620| 6f 76 61 6c 73 2c 20 61 | 6e 64 20 61 20 74 72 69 |ovals, a|nd a tri|
|00004630| 61 6e 67 6c 65 20 62 75 | 69 6c 74 20 66 72 6f 6d |angle bu|ilt from|
|00004640| 20 61 20 70 61 74 68 2e | 0d 00 00 00 00 00 00 00 | a path.|........|
|00004650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000048f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 00 00 00 00 00 00 | 00 00 00 3e 82 02 ca 9d |........|...>....|
|000055e0| 00 65 00 66 00 67 00 68 | 00 69 00 6a 00 6b 00 6c |.e.f.g.h|.i.j.k.l|
|000055f0| 00 6d 00 6e 00 6f 00 70 | 00 71 00 72 00 73 00 74 |.m.n.o.p|.q.r.s.t|
|00005600| 00 75 00 76 00 77 00 78 | 00 79 00 7a 00 7b 00 7c |.u.v.w.x|.y.z.{.||
|00005610| 00 7d 00 7e 00 7f 00 80 | 00 00 00 00 00 00 00 3e |.}.~....|.......>|
|00005620| 82 02 ca 9d 00 81 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 09 83 c0 9c 00 | 82 01 92 8a 81 00 00 00 |........|........|
|00005670| 00 00 01 f9 82 02 b8 03 | f4 49 6e 74 72 6f 64 75 |........|.Introdu|
|00005680| 63 74 69 6f 6e 0d 43 72 | 65 61 74 69 6e 67 20 61 |ction.Cr|eating a|
|00005690| 20 57 69 6e 64 6f 77 0d | 53 68 6f 77 69 6e 67 20 | Window.|Showing |
|000056a0| 61 20 57 69 6e 64 6f 77 | 0d 4d 6f 76 69 6e 67 20 |a Window|.Moving |
|000056b0| 61 20 57 69 6e 64 6f 77 | 0d 43 72 65 61 74 69 6e |a Window|.Creatin|
|000056c0| 67 20 61 20 52 65 63 74 | 61 6e 67 6c 65 2c 20 4f |g a Rect|angle, O|
|000056d0| 76 61 6c 2c 20 4c 69 6e | 65 2c 20 6f 72 20 43 75 |val, Lin|e, or Cu|
|000056e0| 72 76 65 0d 43 72 65 61 | 74 69 6e 67 20 61 20 54 |rve.Crea|ting a T|
|000056f0| 77 6f 44 53 68 61 70 65 | 20 74 6f 20 50 72 65 73 |woDShape| to Pres|
|00005700| 65 6e 74 20 74 68 65 20 | 53 74 65 6e 63 69 6c 0d |ent the |Stencil.|
|00005710| 41 64 64 69 6e 67 20 74 | 68 65 20 50 72 65 73 65 |Adding t|he Prese|
|00005720| 6e 74 65 72 20 74 6f 20 | 61 20 57 69 6e 64 6f 77 |nter to |a Window|
|00005730| 0d 4d 6f 76 69 6e 67 20 | 74 68 65 20 50 72 65 73 |.Moving |the Pres|
|00005740| 65 6e 74 65 72 20 74 6f | 20 61 20 44 69 66 66 65 |enter to| a Diffe|
|00005750| 72 65 6e 74 20 4c 6f 63 | 61 74 69 6f 6e 0d 53 70 |rent Loc|ation.Sp|
|00005760| 65 63 69 66 79 69 6e 67 | 20 61 20 43 6f 6c 6f 72 |ecifying| a Color|
|00005770| 20 74 6f 20 46 69 6c 6c | 20 61 20 53 68 61 70 65 | to Fill| a Shape|
|00005780| 0d 53 70 65 63 69 66 79 | 69 6e 67 20 41 6e 20 4f |.Specify|ing An O|
|00005790| 75 74 6c 69 6e 65 20 43 | 6f 6c 6f 72 0d 44 65 66 |utline C|olor.Def|
|000057a0| 69 6e 69 6e 67 20 59 6f | 75 72 20 4f 77 6e 20 43 |ining Yo|ur Own C|
|000057b0| 6f 6c 6f 72 0d 53 65 6c | 65 63 74 69 6e 67 20 43 |olor.Sel|ecting C|
|000057c0| 6f 6c 6f 72 20 56 61 6c | 75 65 73 0d 55 70 64 61 |olor Val|ues.Upda|
|000057d0| 74 69 6e 67 20 49 6e 64 | 69 72 65 63 74 20 43 68 |ting Ind|irect Ch|
|000057e0| 61 6e 67 65 73 20 74 6f | 20 61 20 50 72 65 73 65 |anges to| a Prese|
|000057f0| 6e 74 65 72 0d 55 73 69 | 6e 67 20 74 68 65 20 50 |nter.Usi|ng the P|
|00005800| 61 74 68 20 43 6c 61 73 | 73 20 74 6f 20 43 72 65 |ath Clas|s to Cre|
|00005810| 61 74 65 20 61 20 4e 6f | 6e 2d 53 74 61 6e 64 61 |ate a No|n-Standa|
|00005820| 72 64 20 53 68 61 70 65 | 73 0d 42 75 69 6c 64 69 |rd Shape|s.Buildi|
|00005830| 6e 67 20 61 20 54 72 69 | 61 6e 67 6c 65 20 61 73 |ng a Tri|angle as|
|00005840| 20 61 6e 20 45 78 61 6d | 70 6c 65 20 6f 66 20 61 | an Exam|ple of a|
|00005850| 20 50 61 74 68 0d 54 68 | 65 20 53 63 72 69 70 74 | Path.Th|e Script|
|00005860| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 3e 82 02 ca 9d | 00 83 00 84 00 85 00 86 |...>....|........|
|00005880| 00 87 00 88 00 89 00 8a | 00 8b 00 8c 00 8d 00 8e |........|........|
|00005890| 00 8f 00 90 00 91 00 92 | 00 00 00 00 00 00 00 00 |........|........|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 7e | 82 02 ca bd 00 00 00 00 |.......~|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005930| 00 00 00 00 00 00 00 00 | 00 00 00 7e 82 02 ca bd |........|...~....|
|00005940| 00 93 00 94 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 10 |........|........|
|000059c0| 82 02 c2 82 00 00 c0 01 | 82 40 0b 8a 00 00 00 00 |........|.@......|
|000059d0| 00 00 00 36 83 c0 c2 00 | 00 95 00 00 00 96 00 97 |...6....|........|
|000059e0| 00 1d 40 55 d5 96 00 03 | 00 01 00 01 00 00 00 00 |..@U....|........|
|000059f0| 01 ff ff 00 07 00 00 98 | 00 00 59 00 00 99 00 00 |........|..Y.....|
|00005a00| 9a 00 00 9b 00 00 56 00 | 00 57 00 00 00 00 00 18 |......V.|.W......|
|00005a10| 82 02 b8 94 47 72 61 70 | 68 69 63 73 00 00 00 00 |....Grap|hics....|
|00005a20| 00 00 00 00 00 00 00 00 | 00 00 00 08 82 02 b8 84 |........|........|
|00005a30| 53 68 32 00 00 00 00 38 | 82 02 b8 b4 49 6d 70 6f |Sh2....8|....Impo|
|00005a40| 72 74 69 6e 67 20 61 6e | 64 20 44 69 73 70 6c 61 |rting an|d Displa|
|00005a50| 79 69 6e 67 20 42 69 74 | 6d 61 70 73 00 00 00 00 |ying Bit|maps....|
|00005a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a70| 00 00 00 09 83 c0 9c 00 | 9c 02 8b 8a 81 00 00 00 |........|........|
|00005a80| 00 00 1f f9 82 02 b8 3f | f4 49 6d 70 6f 72 74 69 |.......?|.Importi|
|00005a90| 6e 67 20 61 6e 64 20 44 | 69 73 70 6c 61 79 69 6e |ng and D|isplayin|
|00005aa0| 67 20 42 69 74 6d 61 70 | 73 0d 54 68 69 73 20 6c |g Bitmap|s.This l|
|00005ab0| 65 73 73 6f 6e 20 74 65 | 61 63 68 65 73 20 68 6f |esson te|aches ho|
|00005ac0| 77 20 74 6f 20 64 69 73 | 70 6c 61 79 20 62 69 74 |w to dis|play bit|
|00005ad0| 6d 61 70 73 20 69 6e 20 | 61 20 77 69 6e 64 6f 77 |maps in |a window|
|00005ae0| 2c 20 62 79 20 64 69 73 | 63 75 73 73 69 6e 67 3a |, by dis|cussing:|
|00005af0| 0d e2 80 a2 09 48 6f 77 | 20 74 6f 20 69 6d 70 6f |.....How| to impo|
|00005b00| 72 74 20 69 6d 61 67 65 | 73 20 69 6e 74 6f 20 53 |rt image|s into S|
|00005b10| 63 72 69 70 74 58 20 61 | 73 20 42 69 74 6d 61 70 |criptX a|s Bitmap|
|00005b20| 20 6f 62 6a 65 63 74 73 | 2e 0d e2 80 a2 09 48 6f | objects|......Ho|
|00005b30| 77 20 74 6f 20 63 72 65 | 61 74 65 20 61 20 54 77 |w to cre|ate a Tw|
|00005b40| 6f 44 53 68 61 70 65 20 | 6f 62 6a 65 63 74 20 74 |oDShape |object t|
|00005b50| 6f 20 70 72 65 73 65 6e | 74 20 74 68 65 20 62 69 |o presen|t the bi|
|00005b60| 74 6d 61 70 2e 0d e2 80 | a2 09 48 6f 77 20 74 6f |tmap....|..How to|
|00005b70| 20 64 69 73 70 6c 61 79 | 20 74 68 65 20 54 77 6f | display| the Two|
|00005b80| 44 53 68 61 70 65 20 6f | 62 6a 65 63 74 20 69 6e |DShape o|bject in|
|00005b90| 20 61 20 77 69 6e 64 6f | 77 2e 0d e2 80 a2 09 48 | a windo|w......H|
|00005ba0| 6f 77 20 74 6f 20 6d 61 | 6b 65 20 74 68 65 20 62 |ow to ma|ke the b|
|00005bb0| 69 74 6d 61 70 e2 80 99 | 73 20 6d 61 73 6b 20 62 |itmap...|s mask b|
|00005bc0| 65 20 69 6e 76 69 73 69 | 62 6c 65 2e 0d e2 80 a2 |e invisi|ble.....|
|00005bd0| 09 48 6f 77 20 74 6f 20 | 73 70 65 63 69 66 79 20 |.How to |specify |
|00005be0| 61 20 22 73 65 65 2d 74 | 68 72 6f 75 67 68 22 20 |a "see-t|hrough" |
|00005bf0| 28 6f 72 20 69 6e 76 69 | 73 69 62 6c 65 29 20 63 |(or invi|sible) c|
|00005c00| 6f 6c 6f 72 20 69 6e 20 | 74 68 65 20 62 69 74 6d |olor in |the bitm|
|00005c10| 61 70 2e 0d 49 6e 74 72 | 6f 64 75 63 74 69 6f 6e |ap..Intr|oduction|
|00005c20| 0d 49 66 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |.If you |want to |
|00005c30| 64 69 73 70 6c 61 79 20 | 73 69 6d 70 6c 65 20 67 |display |simple g|
|00005c40| 72 61 70 68 69 63 20 73 | 68 61 70 65 73 20 73 75 |raphic s|hapes su|
|00005c50| 63 68 20 61 73 20 72 65 | 63 74 61 6e 67 6c 65 73 |ch as re|ctangles|
|00005c60| 2c 20 6f 76 61 6c 73 2c | 20 6c 69 6e 65 73 2c 20 |, ovals,| lines, |
|00005c70| 61 6e 64 20 63 75 72 76 | 65 73 2c 20 69 6e 20 53 |and curv|es, in S|
|00005c80| 63 72 69 70 74 58 2c 20 | 79 6f 75 20 63 61 6e 20 |criptX, |you can |
|00005c90| 75 73 65 20 74 68 65 20 | 63 6c 61 73 73 65 73 20 |use the |classes |
|00005ca0| 6f 66 20 70 72 65 2d 64 | 65 66 69 6e 65 64 20 73 |of pre-d|efined s|
|00005cb0| 74 65 6e 63 69 6c 20 73 | 68 61 70 65 73 20 73 75 |tencil s|hapes su|
|00005cc0| 63 68 20 61 73 20 52 65 | 63 74 2c 20 4f 76 61 6c |ch as Re|ct, Oval|
|00005cd0| 2c 20 61 6e 64 20 4c 69 | 6e 65 2e 20 48 6f 77 65 |, and Li|ne. Howe|
|00005ce0| 76 65 72 2c 20 69 66 20 | 79 6f 75 20 77 61 6e 74 |ver, if |you want|
|00005cf0| 20 74 6f 20 64 69 73 70 | 6c 61 79 20 6d 6f 72 65 | to disp|lay more|
|00005d00| 20 63 6f 6d 70 6c 65 78 | 20 67 72 61 70 68 69 63 | complex| graphic|
|00005d10| 20 69 6d 61 67 65 73 2c | 20 69 74 20 69 73 20 65 | images,| it is e|
|00005d20| 61 73 69 65 72 20 74 6f | 20 63 72 65 61 74 65 20 |asier to| create |
|00005d30| 74 68 65 20 61 72 74 77 | 6f 72 6b 20 79 6f 75 20 |the artw|ork you |
|00005d40| 6e 65 65 64 20 69 6e 20 | 6f 74 68 65 72 20 70 72 |need in |other pr|
|00005d50| 6f 67 72 61 6d 73 2c 20 | 61 6e 64 20 74 68 65 6e |ograms, |and then|
|00005d60| 20 69 6d 70 6f 72 74 20 | 74 68 65 20 69 6d 61 67 | import |the imag|
|00005d70| 65 73 20 69 6e 74 6f 20 | 53 63 72 69 70 74 58 2e |es into |ScriptX.|
|00005d80| 20 0d 53 63 72 69 70 74 | 58 20 63 61 6e 20 69 6d | .Script|X can im|
|00005d90| 70 6f 72 74 20 69 6d 61 | 67 65 73 20 74 68 61 74 |port ima|ges that|
|00005da0| 20 68 61 76 65 20 62 65 | 65 6e 20 73 61 76 65 64 | have be|en saved|
|00005db0| 20 61 73 20 50 49 43 54 | 2c 20 44 49 42 2c 20 42 | as PICT|, DIB, B|
|00005dc0| 4d 50 2c 20 6f 72 20 4b | 49 43 20 66 69 6c 65 73 |MP, or K|IC files|
|00005dd0| 2e 0d 57 68 65 6e 20 53 | 63 72 69 70 74 58 20 69 |..When S|criptX i|
|00005de0| 6d 70 6f 72 74 73 20 61 | 6e 20 69 6d 61 67 65 2c |mports a|n image,|
|00005df0| 20 69 74 20 63 72 65 61 | 74 65 73 20 61 20 42 69 | it crea|tes a Bi|
|00005e00| 74 6d 61 70 20 6f 62 6a | 65 63 74 2e 20 54 6f 20 |tmap obj|ect. To |
|00005e10| 76 69 65 77 20 74 68 65 | 20 62 69 74 6d 61 70 2c |view the| bitmap,|
|00005e20| 20 70 75 74 20 69 74 20 | 69 6e 20 61 20 54 77 6f | put it |in a Two|
|00005e30| 44 53 68 61 70 65 2c 20 | 61 6e 64 20 61 64 64 20 |DShape, |and add |
|00005e40| 74 68 65 20 73 68 61 70 | 65 20 74 6f 20 61 20 77 |the shap|e to a w|
|00005e50| 69 6e 64 6f 77 20 28 6f | 72 20 74 6f 20 61 20 73 |indow (o|r to a s|
|00005e60| 70 61 63 65 20 74 68 61 | 74 20 69 73 20 65 6d 62 |pace tha|t is emb|
|00005e70| 65 64 64 65 64 20 69 6e | 20 61 20 77 69 6e 64 6f |edded in| a windo|
|00005e80| 77 2e 29 0d 41 73 20 77 | 69 74 68 20 61 6c 6c 20 |w.).As w|ith all |
|00005e90| 69 6d 70 6f 72 74 65 64 | 20 6d 65 64 69 61 2c 20 |imported| media, |
|00005ea0| 6f 6e 63 65 20 79 6f 75 | 20 68 61 76 65 20 69 6d |once you| have im|
|00005eb0| 70 6f 72 74 65 64 20 61 | 20 62 69 74 6d 61 70 20 |ported a| bitmap |
|00005ec0| 69 6e 74 6f 20 53 63 72 | 69 70 74 58 20 61 6e 64 |into Scr|iptX and|
|00005ed0| 20 73 61 76 65 64 20 69 | 74 20 74 6f 20 61 20 74 | saved i|t to a t|
|00005ee0| 69 74 6c 65 20 63 6f 6e | 74 61 69 6e 65 72 2c 20 |itle con|tainer, |
|00005ef0| 69 74 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 6f |it can b|e used o|
|00005f00| 6e 20 61 6e 79 20 70 6c | 61 74 66 6f 72 6d 20 74 |n any pl|atform t|
|00005f10| 68 61 74 20 73 75 70 70 | 6f 72 74 73 20 53 63 72 |hat supp|orts Scr|
|00005f20| 69 70 74 58 20 61 6e 64 | 20 74 68 65 20 4b 61 6c |iptX and| the Kal|
|00005f30| 65 69 64 61 20 4d 65 64 | 69 61 20 50 6c 61 79 65 |eida Med|ia Playe|
|00005f40| 72 2e 0d 49 6d 70 6f 72 | 74 69 6e 67 20 49 6d 61 |r..Impor|ting Ima|
|00005f50| 67 65 73 0d 41 73 20 77 | 69 74 68 20 6f 74 68 65 |ges.As w|ith othe|
|00005f60| 72 20 6b 69 6e 64 73 20 | 6f 66 20 6d 65 64 69 61 |r kinds |of media|
|00005f70| 2c 20 73 75 63 68 20 61 | 73 20 76 69 64 65 6f 20 |, such a|s video |
|00005f80| 61 6e 64 20 61 75 64 69 | 6f 2c 20 79 6f 75 20 69 |and audi|o, you i|
|00005f90| 6d 70 6f 72 74 20 62 69 | 74 6d 61 70 73 20 62 79 |mport bi|tmaps by|
|00005fa0| 20 63 61 6c 6c 69 6e 67 | 20 74 68 65 20 69 6d 70 | calling| the imp|
|00005fb0| 6f 72 74 4d 65 64 69 61 | 20 6d 65 74 68 6f 64 20 |ortMedia| method |
|00005fc0| 6f 6e 20 74 68 65 49 6d | 70 6f 72 74 45 78 70 6f |on theIm|portExpo|
|00005fd0| 72 74 45 6e 67 69 6e 65 | 20 67 6c 6f 62 61 6c 20 |rtEngine| global |
|00005fe0| 69 6e 73 74 61 6e 63 65 | 20 61 6e 64 20 73 70 65 |instance| and spe|
|00005ff0| 63 69 66 79 69 6e 67 20 | 61 72 67 75 6d 65 6e 74 |cifying |argument|
|00006000| 73 20 72 65 6c 65 76 61 | 6e 74 20 74 6f 20 74 68 |s releva|nt to th|
|00006010| 65 20 6b 69 6e 64 20 6f | 66 20 6d 65 64 69 61 20 |e kind o|f media |
|00006020| 62 65 69 6e 67 20 69 6d | 70 6f 72 74 65 64 2e 20 |being im|ported. |
|00006030| 0d 54 68 65 20 66 69 72 | 73 74 20 61 72 67 75 6d |.The fir|st argum|
|00006040| 65 6e 74 20 69 73 20 61 | 20 73 74 72 65 61 6d 20 |ent is a| stream |
|00006050| 74 68 61 74 20 70 6f 69 | 6e 74 73 20 74 6f 20 74 |that poi|nts to t|
|00006060| 68 65 20 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 69 |he file |containi|
|00006070| 6e 67 20 74 68 65 20 62 | 69 74 6d 61 70 2e 20 54 |ng the b|itmap. T|
|00006080| 68 65 20 73 65 63 6f 6e | 64 20 61 72 67 75 6d 65 |he secon|d argume|
|00006090| 6e 74 20 69 73 20 40 69 | 6d 61 67 65 2c 20 74 6f |nt is @i|mage, to|
|000060a0| 20 69 6e 64 69 63 61 74 | 65 20 74 68 61 74 20 61 | indicat|e that a|
|000060b0| 6e 20 69 6d 61 67 65 20 | 69 73 20 74 6f 20 62 65 |n image |is to be|
|000060c0| 20 69 6d 70 6f 72 74 65 | 64 2e 20 54 68 65 20 74 | importe|d. The t|
|000060d0| 68 69 72 64 20 61 72 67 | 75 6d 65 6e 74 20 69 73 |hird arg|ument is|
|000060e0| 20 6f 6e 65 20 6f 66 20 | 40 44 49 42 2c 20 40 42 | one of |@DIB, @B|
|000060f0| 4d 50 2c 20 40 4b 49 43 | 2c 20 6f 72 20 40 50 49 |MP, @KIC|, or @PI|
|00006100| 43 54 2c 20 74 6f 20 69 | 6e 64 69 63 61 74 65 20 |CT, to i|ndicate |
|00006110| 74 68 65 20 66 6f 72 6d | 61 74 20 6f 66 20 74 68 |the form|at of th|
|00006120| 65 20 66 69 6c 65 2e 20 | 54 68 65 20 66 6f 75 72 |e file. |The four|
|00006130| 74 68 20 61 72 67 75 6d | 65 6e 74 20 69 73 20 40 |th argum|ent is @|
|00006140| 62 69 74 6d 61 70 2c 20 | 69 6e 64 69 63 61 74 69 |bitmap, |indicati|
|00006150| 6e 67 20 74 68 61 74 20 | 61 20 42 69 74 6d 61 70 |ng that |a Bitmap|
|00006160| 20 6f 62 6a 65 63 74 20 | 77 69 6c 6c 20 62 65 20 | object |will be |
|00006170| 63 72 65 61 74 65 64 20 | 61 6e 64 20 72 65 74 75 |created |and retu|
|00006180| 72 6e 65 64 2e 0d 47 65 | 74 74 69 6e 67 20 61 20 |rned..Ge|tting a |
|00006190| 53 74 72 65 61 6d 20 54 | 68 61 74 20 50 6f 69 6e |Stream T|hat Poin|
|000061a0| 74 73 20 74 6f 20 74 68 | 65 20 42 69 74 6d 61 70 |ts to th|e Bitmap|
|000061b0| 20 46 69 6c 65 0d 59 6f | 75 20 63 61 6e 20 75 73 | File.Yo|u can us|
|000061c0| 65 20 74 68 65 20 67 65 | 74 53 74 72 65 61 6d 20 |e the ge|tStream |
|000061d0| 6d 65 74 68 6f 64 20 74 | 6f 20 63 72 65 61 74 65 |method t|o create|
|000061e0| 20 61 20 73 74 72 65 61 | 6d 20 74 68 61 74 20 70 | a strea|m that p|
|000061f0| 6f 69 6e 74 73 20 74 6f | 20 61 20 66 69 6c 65 2e |oints to| a file.|
|00006200| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 63 | The fol|lowing c|
|00006210| 6f 64 65 20 63 72 65 61 | 74 65 73 20 61 20 53 74 |ode crea|tes a St|
|00006220| 72 65 61 6d 20 6f 62 6a | 65 63 74 20 66 6f 72 20 |ream obj|ect for |
|00006230| 74 68 65 20 66 69 6c 65 | 20 66 6c 6f 77 65 72 2e |the file| flower.|
|00006240| 6b 69 63 20 77 68 69 63 | 68 20 72 65 73 69 64 65 |kic whic|h reside|
|00006250| 73 20 6f 6e 20 74 68 65 | 20 73 63 72 69 70 74 20 |s on the| script |
|00006260| 64 69 72 65 63 74 6f 72 | 79 2e 0d 67 6c 6f 62 61 |director|y..globa|
|00006270| 6c 20 73 74 72 6d 20 3a | 3d 20 67 65 74 53 74 72 |l strm :|= getStr|
|00006280| 65 61 6d 20 74 68 65 53 | 63 72 69 70 74 44 69 72 |eam theS|criptDir|
|00006290| 20 5c 0d 09 22 66 6c 6f | 77 65 72 2e 6b 69 63 22 | \.."flo|wer.kic"|
|000062a0| 20 40 72 65 61 64 61 62 | 6c 65 0d 49 6d 70 6f 72 | @readab|le.Impor|
|000062b0| 74 69 6e 67 20 74 68 65 | 20 53 74 72 65 61 6d 0d |ting the| Stream.|
|000062c0| 54 6f 20 69 6d 70 6f 72 | 74 20 74 68 65 20 62 69 |To impor|t the bi|
|000062d0| 74 6d 61 70 20 66 69 6c | 65 2c 20 63 61 6c 6c 20 |tmap fil|e, call |
|000062e0| 74 68 65 20 69 6d 70 6f | 72 74 4d 65 64 69 61 20 |the impo|rtMedia |
|000062f0| 6d 65 74 68 6f 64 20 6f | 6e 20 74 68 65 20 67 6c |method o|n the gl|
|00006300| 6f 62 61 6c 20 69 6e 73 | 74 61 6e 63 65 20 74 68 |obal ins|tance th|
|00006310| 65 49 6d 70 6f 72 74 45 | 78 70 6f 72 74 45 6e 67 |eImportE|xportEng|
|00006320| 69 6e 65 2c 20 67 69 76 | 69 6e 67 20 74 68 65 20 |ine, giv|ing the |
|00006330| 61 70 70 72 6f 70 72 69 | 61 74 65 20 61 72 67 75 |appropri|ate argu|
|00006340| 6d 65 6e 74 73 2e 20 54 | 68 65 20 66 6f 6c 6c 6f |ments. T|he follo|
|00006350| 77 69 6e 67 20 63 6f 64 | 65 20 69 6d 70 6f 72 74 |wing cod|e import|
|00006360| 73 20 74 68 65 20 62 69 | 74 6d 61 70 20 73 61 76 |s the bi|tmap sav|
|00006370| 65 64 20 69 6e 20 74 68 | 65 20 4b 49 43 20 66 69 |ed in th|e KIC fi|
|00006380| 6c 65 20 63 61 6c 6c 65 | 64 20 66 6c 6f 77 65 72 |le calle|d flower|
|00006390| 2e 4b 49 43 2e 20 0d 67 | 6c 6f 62 61 6c 20 62 6d |.KIC. .g|lobal bm|
|000063a0| 53 74 65 6e 63 69 6c 20 | 3a 3d 20 69 6d 70 6f 72 |Stencil |:= impor|
|000063b0| 74 4d 65 64 69 61 20 5c | 0d 09 74 68 65 49 6d 70 |tMedia \|..theImp|
|000063c0| 6f 72 74 45 78 70 6f 72 | 74 45 6e 67 69 6e 65 20 |ortExpor|tEngine |
|000063d0| 5c 0d 09 73 74 72 6d 20 | 40 69 6d 61 67 65 20 40 |\..strm |@image @|
|000063e0| 4b 49 43 20 40 62 69 74 | 6d 61 70 0d 44 69 73 70 |KIC @bit|map.Disp|
|000063f0| 6c 61 79 69 6e 67 20 74 | 68 65 20 42 69 74 6d 61 |laying t|he Bitma|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.